Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.9 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 54.58 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002745/0.1289, allocations: 1.534 MB / 353 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.1297, allocations: 498.6 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.1298, allocations: 0 / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.1299, allocations: 11.92 kB / 353.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.13, allocations: 11.88 kB / 353.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1303, allocations: 51.45 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1304, allocations: 55.77 kB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1305, allocations: 20.17 kB / 353.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.1306, allocations: 19.92 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.1307, allocations: 19.86 kB / 353.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1307, allocations: 8 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.1307, allocations: 4 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.1308, allocations: 19.91 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1308, allocations: 23.81 kB / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1309, allocations: 59.73 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.131, allocations: 0 / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.131, allocations: 0 / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.131, allocations: 3.938 kB / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005123/0.1315, allocations: 379.1 kB / 354.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1315, allocations: 12.03 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1316, allocations: 8.844 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1318, allocations: 196.1 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.1318, allocations: 384 / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1319, allocations: 8.375 kB / 354.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1322, allocations: 113.1 kB / 354.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1322, allocations: 3.938 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1322, allocations: 0 / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1322, allocations: 0 / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1323, allocations: 23.92 kB / 354.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1326, allocations: 265.8 kB / 354.8 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.1327, allocations: 45.14 kB / 354.9 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.1328, allocations: 17.78 kB / 354.9 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1328, allocations: 3.984 kB / 354.9 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1328, allocations: 34.56 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/0.1329, allocations: 4 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.1331, allocations: 73.45 kB / 355 MB, free: 4 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.1332, allocations: 81.11 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1333, allocations: 144.5 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1333, allocations: 25.7 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.1334, allocations: 92.14 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.1334, allocations: 4.188 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1335, allocations: 25.61 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1336, allocations: 318.8 kB / 355.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.1336, allocations: 7.984 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.1337, allocations: 21.72 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.1338, allocations: 29.77 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1338, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1339, allocations: 57.61 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1339, allocations: 4 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1339, allocations: 0 / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.134, allocations: 4 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.134, allocations: 4 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1341, allocations: 0 / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.1341, allocations: 4.062 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1341, allocations: 8 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.732e-05/0.1342, allocations: 121.7 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.1343, allocations: 45.55 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.1343, allocations: 11.86 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1343, allocations: 0 / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1344, allocations: 0 / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1344, allocations: 4 kB / 356 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1346, allocations: 173.6 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1346, allocations: 4.031 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.1346, allocations: 4 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1346, allocations: 0 / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1346, allocations: 0 / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1346, allocations: 3.984 kB / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1346, allocations: 7.938 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1348, allocations: 168.2 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.1349, allocations: 93 kB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1349, allocations: 4 kB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.135, allocations: 3.938 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.135, allocations: 3.984 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.135, allocations: 4 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.1351, allocations: 103.3 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1351, allocations: 0 / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1353, allocations: 4 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.1354, allocations: 103.8 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1356, allocations: 27.92 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1356, allocations: 0 / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.1356, allocations: 8 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1359, allocations: 23.94 kB / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.1363, allocations: 167.7 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1366, allocations: 0.6962 MB / 357.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1367, allocations: 4 kB / 357.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1367, allocations: 7.438 kB / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1367, allocations: 0 / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of Templates: time 0.003064/0.1398, allocations: 0.573 MB / 358.1 MB, free: 12.61 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches