Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007541, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.0008978/0.0008979, allocations: 176.2 kB / 18.91 MB, free: 4.871 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.455/1.455, allocations: 223.3 MB / 243 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.24 MB / 338.3 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 12 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002779/0.1254, allocations: 1.912 MB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1276, allocations: 1.162 MB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.128, allocations: 0 / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.1286, allocations: 115.6 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006133/0.1293, allocations: 163.3 kB / 476.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1305, allocations: 293.6 kB / 476.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.1311, allocations: 398.8 kB / 476.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1313, allocations: 56.72 kB / 477 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.1317, allocations: 243.1 kB / 477.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.132, allocations: 139.2 kB / 477.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.132, allocations: 12 kB / 477.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1322, allocations: 63.95 kB / 477.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1324, allocations: 115.5 kB / 477.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1326, allocations: 192.3 kB / 477.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1329, allocations: 303.5 kB / 478 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.133, allocations: 0 / 478 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.133, allocations: 0 / 478 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.133, allocations: 0 / 478 MB, free: 8.188 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00112/0.1341, allocations: 0.7315 MB / 478.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1342, allocations: 8.031 kB / 478.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.1343, allocations: 60.19 kB / 478.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.1348, allocations: 403.7 kB / 479.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.1348, allocations: 12.38 kB / 479.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.1349, allocations: 20.11 kB / 479.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1353, allocations: 193.5 kB / 479.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1354, allocations: 3.984 kB / 479.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1354, allocations: 11.98 kB / 479.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1354, allocations: 4 kB / 479.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1357, allocations: 87.88 kB / 479.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.1367, allocations: 0.7975 MB / 480.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.1374, allocations: 250.5 kB / 480.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1376, allocations: 87.52 kB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1376, allocations: 11.94 kB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.138, allocations: 204.3 kB / 480.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.138, allocations: 0 / 480.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002505/0.1406, allocations: 1.091 MB / 482 MB, free: 3.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.1406, allocations: 136.5 kB / 482.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.1415, allocations: 0.749 MB / 482.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1415, allocations: 37.7 kB / 482.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1417, allocations: 240.9 kB / 483.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1418, allocations: 138.1 kB / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.1419, allocations: 37.7 kB / 483.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1421, allocations: 374.8 kB / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1423, allocations: 116.8 kB / 483.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1426, allocations: 183.1 kB / 484 MB, free: 1.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.1432, allocations: 323 kB / 484.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1432, allocations: 0 / 484.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007941/0.144, allocations: 436.8 kB / 484.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.144, allocations: 6.812 kB / 484.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1441, allocations: 4 kB / 484.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1441, allocations: 4 kB / 484.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1444, allocations: 92.02 kB / 484.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1444, allocations: 4 kB / 484.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.1446, allocations: 23.92 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.1446, allocations: 20 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000257/0.1449, allocations: 227.9 kB / 485.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.145, allocations: 67.09 kB / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1451, allocations: 76.5 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1451, allocations: 8 kB / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.1451, allocations: 11.92 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1451, allocations: 7.938 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1469, allocations: 1.295 MB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.1469, allocations: 3.984 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.1471, allocations: 55.92 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.1472, allocations: 8.25 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.1472, allocations: 27.92 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.1472, allocations: 4 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1472, allocations: 4 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.1481, allocations: 0.7737 MB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.1484, allocations: 184.3 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.1484, allocations: 15.94 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.1487, allocations: 23.98 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.1489, allocations: 39.83 kB / 487.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.1489, allocations: 20 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006148/0.1495, allocations: 0.5496 MB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1495, allocations: 4 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.1501, allocations: 91.89 kB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001358/0.1515, allocations: 0.5251 MB / 488.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.1521, allocations: 311.6 kB / 489.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.1522, allocations: 4.25 kB / 489.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.1525, allocations: 163.7 kB / 489.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1536, allocations: 119.8 kB / 489.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1554, allocations: 1.223 MB / 490.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.156, allocations: 0.8776 MB / 491.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1561, allocations: 59.42 kB / 491.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1561, allocations: 4.75 kB / 491.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01194/0.1681, allocations: 6.166 MB / 497.8 MB, free: 4.051 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches