Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 116.6 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002227/0.002227, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.73/1.73, allocations: 227.4 MB / 246.5 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002019, allocations: 63.66 kB / 306.5 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 50.55 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004348/0.1337, allocations: 1.981 MB / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1363, allocations: 1.203 MB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1366, allocations: 7.938 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.1374, allocations: 151.6 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1379, allocations: 143.6 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.1386, allocations: 159.5 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.1389, allocations: 203.5 kB / 360.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1391, allocations: 37.66 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1393, allocations: 87.56 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1394, allocations: 79.62 kB / 361.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1394, allocations: 12 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1396, allocations: 47.98 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.1397, allocations: 47.83 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1398, allocations: 79.47 kB / 361.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1402, allocations: 223.5 kB / 361.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1402, allocations: 3.938 kB / 361.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1402, allocations: 0 / 361.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1402, allocations: 0 / 361.5 MB, free: 9.926 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.000902/0.1411, allocations: 0.5273 MB / 362 MB, free: 9.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1411, allocations: 12.02 kB / 362 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.1412, allocations: 24.66 kB / 362 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.1416, allocations: 270.8 kB / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1416, allocations: 4.375 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1416, allocations: 12.12 kB / 362.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.142, allocations: 167.6 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1421, allocations: 4 kB / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1421, allocations: 0 / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1421, allocations: 0 / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1422, allocations: 43.86 kB / 362.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.1429, allocations: 383.1 kB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1432, allocations: 138.5 kB / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1433, allocations: 59.42 kB / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1434, allocations: 0 / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1436, allocations: 79.33 kB / 363.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.1436, allocations: 0 / 363.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005042/0.1441, allocations: 161.2 kB / 363.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.1443, allocations: 162.6 kB / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.1449, allocations: 282.6 kB / 363.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.145, allocations: 29.7 kB / 363.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1451, allocations: 116.4 kB / 363.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1451, allocations: 15.81 kB / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.1452, allocations: 37.61 kB / 364 MB, free: 7.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1454, allocations: 334.8 kB / 364.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.1455, allocations: 20 kB / 364.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1457, allocations: 91.64 kB / 364.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1458, allocations: 93.97 kB / 364.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1458, allocations: 0 / 364.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002825/0.1461, allocations: 129.3 kB / 364.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1462, allocations: 4 kB / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1462, allocations: 192 / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1462, allocations: 8 kB / 364.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1463, allocations: 19.98 kB / 364.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1463, allocations: 3.938 kB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.1464, allocations: 19.78 kB / 364.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1464, allocations: 4 kB / 364.7 MB, free: 6.344 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,sample1.u,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.0001753/0.1466, allocations: 142.1 kB / 364.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1467, allocations: 81.44 kB / 364.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.1468, allocations: 25.7 kB / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1468, allocations: 0 / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1468, allocations: 8 kB / 364.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1468, allocations: 3.938 kB / 364.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1471, allocations: 237.5 kB / 365.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1471, allocations: 0 / 365.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.1471, allocations: 11.88 kB / 365.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1471, allocations: 4 kB / 365.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1471, allocations: 3.984 kB / 365.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1472, allocations: 4 kB / 365.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1472, allocations: 4.031 kB / 365.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1474, allocations: 163.4 kB / 365.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1476, allocations: 120.7 kB / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1476, allocations: 0 / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.1477, allocations: 15.92 kB / 365.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.1477, allocations: 8 kB / 365.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1478, allocations: 7.938 kB / 365.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.148, allocations: 206 kB / 365.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.148, allocations: 0 / 365.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1483, allocations: 35.98 kB / 365.7 MB, free: 5.176 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,sample1.u,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.001606/0.1499, allocations: 416.8 kB / 366.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.1502, allocations: 83.84 kB / 366.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1502, allocations: 0 / 366.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.1503, allocations: 23.98 kB / 366.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.1509, allocations: 77.03 kB / 366.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.1518, allocations: 390.6 kB / 366.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.1523, allocations: 0.7359 MB / 367.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1524, allocations: 25.53 kB / 367.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.1525, allocations: 19.44 kB / 367.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1525, allocations: 3.938 kB / 367.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Templates: time 0.008577/0.1611, allocations: 2.645 MB / 370.1 MB, free: 0.875 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches