Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.0008111, allocations: 101.5 kB / 17.01 MB, free: 6.102 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.00118/0.00118, allocations: 174.4 kB / 17.89 MB, free: 5.684 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.471/1.471, allocations: 223.3 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.26 MB / 337.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002345/0.1436, allocations: 1.575 MB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1449, allocations: 0.8348 MB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1451, allocations: 3.938 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1454, allocations: 39.83 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1456, allocations: 47.77 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1459, allocations: 107.8 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1461, allocations: 127.5 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1462, allocations: 13.5 kB / 474.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.1463, allocations: 51.7 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.1464, allocations: 47.72 kB / 474.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1465, allocations: 0 / 474.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.1466, allocations: 43.98 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.1466, allocations: 19.91 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.1467, allocations: 41.64 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1469, allocations: 100.1 kB / 474.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1469, allocations: 0 / 474.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1469, allocations: 0 / 474.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1469, allocations: 4 kB / 474.7 MB, free: 10.63 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006693/0.1476, allocations: 460.4 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1476, allocations: 15.97 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1477, allocations: 11.81 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.148, allocations: 206.9 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.148, allocations: 8 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.148, allocations: 7.984 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1484, allocations: 116.1 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1484, allocations: 0 / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1485, allocations: 7.984 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1485, allocations: 0 / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1487, allocations: 55.91 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.1493, allocations: 0.5087 MB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.1497, allocations: 98.53 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1498, allocations: 44.83 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1498, allocations: 4 kB / 476.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.1502, allocations: 79.38 kB / 476.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 4.979e-06/0.1502, allocations: 4 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006247/0.1508, allocations: 141.5 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1509, allocations: 55.34 kB / 476.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1511, allocations: 199.4 kB / 476.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1511, allocations: 25.7 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1513, allocations: 112 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.1513, allocations: 23.66 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.1513, allocations: 4 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1515, allocations: 334.8 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.1516, allocations: 31.98 kB / 477.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1518, allocations: 60.27 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1519, allocations: 36 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1519, allocations: 0 / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003251/0.1522, allocations: 145.7 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1522, allocations: 4 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1523, allocations: 8.125 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1523, allocations: 96 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1524, allocations: 27.92 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1524, allocations: 4 kB / 477.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.1525, allocations: 19.77 kB / 477.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1525, allocations: 8 kB / 477.5 MB, free: 7.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.1527, allocations: 130.3 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.1527, allocations: 15.81 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.1528, allocations: 25.39 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1528, allocations: 4 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1528, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1528, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.153, allocations: 213.5 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1531, allocations: 0 / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1532, allocations: 11.98 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1532, allocations: 4 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1532, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1532, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1533, allocations: 4 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.1537, allocations: 184.8 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.1538, allocations: 96.97 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1538, allocations: 4 kB / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1539, allocations: 12.05 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.1539, allocations: 11.94 kB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.154, allocations: 4 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1541, allocations: 137.2 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1541, allocations: 0 / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1544, allocations: 31.89 kB / 478.3 MB, free: 6.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.1557, allocations: 414.6 kB / 478.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1559, allocations: 83.91 kB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1559, allocations: 0 / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1561, allocations: 43.91 kB / 478.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1564, allocations: 32.12 kB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.157, allocations: 294.9 kB / 479.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1573, allocations: 0.7203 MB / 479.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.1574, allocations: 25.39 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.1575, allocations: 15.44 kB / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1575, allocations: 0 / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Templates: time 0.005663/0.1631, allocations: 1.729 MB / 481.7 MB, free: 3.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches