Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001682/0.001682, allocations: 191 kB / 18.63 MB, free: 4.375 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.394/1.394, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 48.16 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003337/0.1226, allocations: 1.906 MB / 353.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1244, allocations: 1.161 MB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1245, allocations: 4 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1248, allocations: 71.66 kB / 354.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1251, allocations: 91.53 kB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.1258, allocations: 271.8 kB / 355 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.126, allocations: 175.5 kB / 355.2 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1261, allocations: 33.61 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.1262, allocations: 79.55 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1263, allocations: 79.62 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1264, allocations: 12 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1265, allocations: 71.88 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.1266, allocations: 47.84 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.1267, allocations: 83.41 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.127, allocations: 251.1 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.127, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.127, allocations: 4 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.127, allocations: 0 / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006911/0.1277, allocations: 0.535 MB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1278, allocations: 19.89 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.1278, allocations: 24.66 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.1282, allocations: 295.5 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1283, allocations: 4.375 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1283, allocations: 12.12 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.1286, allocations: 188.3 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1287, allocations: 0 / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1287, allocations: 4 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1287, allocations: 4 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1288, allocations: 39.91 kB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.1293, allocations: 395.2 kB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.1296, allocations: 142.5 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1297, allocations: 55.42 kB / 357.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.1298, allocations: 11.98 kB / 357.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.1299, allocations: 71.39 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.1299, allocations: 3.938 kB / 357.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003994/0.1303, allocations: 173.3 kB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1305, allocations: 192.2 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.1308, allocations: 334.7 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1308, allocations: 29.7 kB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.1309, allocations: 132.3 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.131, allocations: 23.81 kB / 358.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.131, allocations: 41.64 kB / 358.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1311, allocations: 334.8 kB / 358.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.1312, allocations: 27.98 kB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1314, allocations: 96.58 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1315, allocations: 101.9 kB / 359 MB, free: 11.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1316, allocations: 4 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002608/0.1318, allocations: 137.3 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1319, allocations: 8.188 kB / 359.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1319, allocations: 4 kB / 359.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1319, allocations: 4 kB / 359.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.132, allocations: 23.92 kB / 359.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.132, allocations: 7.938 kB / 359.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.1321, allocations: 11.92 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1321, allocations: 4 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001437/0.1323, allocations: 162.3 kB / 359.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1324, allocations: 85.34 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.1325, allocations: 25.7 kB / 359.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1325, allocations: 4 kB / 359.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1325, allocations: 0 / 359.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1325, allocations: 7.938 kB / 359.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.1327, allocations: 241.5 kB / 359.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1327, allocations: 320 / 359.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.1328, allocations: 15.98 kB / 359.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1328, allocations: 4 kB / 359.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1328, allocations: 8 kB / 359.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1329, allocations: 8.094 kB / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1329, allocations: 0 / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1331, allocations: 183.2 kB / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1333, allocations: 120.8 kB / 360.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.1333, allocations: 0 / 360.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1334, allocations: 8 kB / 360.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1334, allocations: 11.98 kB / 360.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1335, allocations: 7.938 kB / 360.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.1337, allocations: 249.9 kB / 360.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 0 / 360.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.134, allocations: 36 kB / 360.4 MB, free: 10.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009673/0.135, allocations: 435.5 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1352, allocations: 79.89 kB / 360.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1352, allocations: 4 kB / 360.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.1353, allocations: 31.92 kB / 360.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1358, allocations: 79.78 kB / 361 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.1364, allocations: 390.5 kB / 361.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1367, allocations: 0.7398 MB / 362.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.506e-05/0.1368, allocations: 37.52 kB / 362.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.1368, allocations: 27.42 kB / 362.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1368, allocations: 0 / 362.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006698/0.1435, allocations: 3.043 MB / 365.2 MB, free: 5.562 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches