Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007682/0.0007682, allocations: 95.78 kB / 17.35 MB, free: 6.371 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.000861/0.000861, allocations: 181.2 kB / 18.26 MB, free: 5.523 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.409/1.409, allocations: 223.2 MB / 242.3 MB, free: 204 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.2264/0.2264, allocations: 44.24 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 13.03 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002395/0.1424, allocations: 1.374 MB / 473.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1439, allocations: 0.8343 MB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.144, allocations: 0 / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1444, allocations: 59.84 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1446, allocations: 59.81 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1449, allocations: 95.64 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.145, allocations: 87.7 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.1451, allocations: 7.984 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.1452, allocations: 39.84 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1453, allocations: 47.77 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1454, allocations: 4 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.1454, allocations: 31.92 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.1455, allocations: 15.98 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.1456, allocations: 53.45 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1458, allocations: 99.91 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1458, allocations: 0 / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1458, allocations: 0 / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1458, allocations: 3.938 kB / 475.1 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005736/0.1464, allocations: 391.2 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.1465, allocations: 8.031 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.1465, allocations: 8.844 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1468, allocations: 208.1 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1469, allocations: 384 / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1469, allocations: 8.125 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.147, allocations: 49.67 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1471, allocations: 0 / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1471, allocations: 4 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1471, allocations: 0 / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.1472, allocations: 15.98 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.1474, allocations: 189.5 kB / 475.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1476, allocations: 50.56 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.1477, allocations: 24.78 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1477, allocations: 4 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.1479, allocations: 63.39 kB / 476.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.1479, allocations: 3.938 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002687/0.1482, allocations: 97.52 kB / 476.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1482, allocations: 51.41 kB / 476.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1484, allocations: 186.1 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1484, allocations: 33.7 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1485, allocations: 104.1 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1485, allocations: 7.812 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1486, allocations: 17.72 kB / 476.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1487, allocations: 322.8 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.1488, allocations: 11.98 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.1488, allocations: 25.72 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1489, allocations: 53.64 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.149, allocations: 0 / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001528/0.1491, allocations: 85.53 kB / 477 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1491, allocations: 6.344 kB / 477 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1491, allocations: 0 / 477 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1492, allocations: 8.297 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.1493, allocations: 11.94 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1493, allocations: 0 / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.1493, allocations: 8.031 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1493, allocations: 4 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001058/0.1494, allocations: 125.8 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.1495, allocations: 11.91 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.1495, allocations: 16.3 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1495, allocations: 3.984 kB / 477.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1495, allocations: 3.938 kB / 477.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1495, allocations: 0 / 477.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1497, allocations: 189.5 kB / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1497, allocations: 0 / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.1497, allocations: 8 kB / 477.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1497, allocations: 0 / 477.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1498, allocations: 0 / 477.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1498, allocations: 0 / 477.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1498, allocations: 0 / 477.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.15, allocations: 112.9 kB / 477.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.15, allocations: 92.94 kB / 477.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1501, allocations: 7.938 kB / 477.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.1501, allocations: 4 kB / 477.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1502, allocations: 11.98 kB / 477.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1502, allocations: 0 / 477.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1503, allocations: 135.2 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1503, allocations: 0 / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1505, allocations: 19.98 kB / 477.8 MB, free: 7.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009901/0.1515, allocations: 415.5 kB / 478.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1517, allocations: 43.92 kB / 478.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1517, allocations: 0 / 478.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/0.1518, allocations: 16 kB / 478.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1521, allocations: 31.91 kB / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.1525, allocations: 221 kB / 478.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1528, allocations: 0.7004 MB / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.1529, allocations: 4.562 kB / 479.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1529, allocations: 19.42 kB / 479.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1529, allocations: 0 / 479.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Templates: time 0.004058/0.157, allocations: 1.417 MB / 480.7 MB, free: 4.68 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches