Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009682, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001027/0.001027, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.387/1.387, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2442/0.2442, allocations: 44.17 MB / 336.6 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 67.84 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.004036/0.1257, allocations: 1.781 MB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1283, allocations: 1.561 MB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.1284, allocations: 7.938 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1287, allocations: 43.7 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.129, allocations: 87.53 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1294, allocations: 178.6 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1296, allocations: 179.5 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.541e-05/0.1297, allocations: 13.55 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1298, allocations: 83.56 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1301, allocations: 71.69 kB / 473.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1301, allocations: 8 kB / 473.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1302, allocations: 63.92 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.1303, allocations: 31.89 kB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.1304, allocations: 55.61 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1307, allocations: 163.8 kB / 473.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1307, allocations: 4 kB / 473.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1307, allocations: 0 / 473.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1307, allocations: 0 / 473.6 MB, free: 10.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006349/0.1313, allocations: 466.6 kB / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1314, allocations: 12.03 kB / 474 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1314, allocations: 12.75 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1317, allocations: 247.8 kB / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1318, allocations: 384 / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1318, allocations: 12.12 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.132, allocations: 113 kB / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.132, allocations: 0 / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.132, allocations: 0 / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.132, allocations: 0 / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1321, allocations: 27.98 kB / 474.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.1324, allocations: 222.4 kB / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1326, allocations: 109.2 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.1327, allocations: 41.64 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1328, allocations: 3.984 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.133, allocations: 113 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.1331, allocations: 3.984 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004271/0.1335, allocations: 161.4 kB / 475.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.1336, allocations: 136.5 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1338, allocations: 211.8 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1338, allocations: 29.7 kB / 475.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1339, allocations: 116.1 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.134, allocations: 23.72 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.134, allocations: 29.7 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1341, allocations: 326.8 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.1342, allocations: 27.98 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1343, allocations: 77.06 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1345, allocations: 91.39 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1346, allocations: 0 / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002698/0.1348, allocations: 145.9 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1349, allocations: 4 kB / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1349, allocations: 64 / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1349, allocations: 8 kB / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.135, allocations: 23.98 kB / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.135, allocations: 7.938 kB / 476.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.1351, allocations: 7.938 kB / 476.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1351, allocations: 4 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.1352, allocations: 129.8 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.1353, allocations: 19.81 kB / 476.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1353, allocations: 20.98 kB / 476.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1354, allocations: 4 kB / 476.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1354, allocations: 4 kB / 476.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1354, allocations: 0 / 476.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1356, allocations: 221.4 kB / 476.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1356, allocations: 0 / 476.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.1356, allocations: 11.98 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1356, allocations: 3.938 kB / 476.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1356, allocations: 3.938 kB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1356, allocations: 4 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1357, allocations: 0 / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1359, allocations: 169.6 kB / 476.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.136, allocations: 96.94 kB / 477 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.136, allocations: 4 kB / 477 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.1361, allocations: 0 / 477 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1362, allocations: 15.98 kB / 477 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1362, allocations: 4 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1363, allocations: 160.2 kB / 477.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1363, allocations: 3.938 kB / 477.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1366, allocations: 32 kB / 477.2 MB, free: 6.008 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001034/0.1376, allocations: 452.8 kB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1379, allocations: 83.84 kB / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1379, allocations: 0 / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.138, allocations: 40.34 kB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1384, allocations: 67.48 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.1389, allocations: 275.7 kB / 478.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1392, allocations: 0.7202 MB / 478.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.057e-05/0.1393, allocations: 29.52 kB / 478.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.1393, allocations: 19.44 kB / 478.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1393, allocations: 4 kB / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of Templates: time 0.005486/0.1448, allocations: 2.633 MB / 481.5 MB, free: 1.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches