Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 96.47 kB / 17 MB, free: 6.078 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.001144/0.001144, allocations: 183.2 kB / 17.89 MB, free: 5.66 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.44/1.44, allocations: 223.2 MB / 241.9 MB, free: 248 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.2418/0.2418, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002287/0.131, allocations: 1.394 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1325, allocations: 0.8036 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.1326, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.133, allocations: 31.91 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1332, allocations: 47.77 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1335, allocations: 91.81 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1337, allocations: 83.7 kB / 474.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1338, allocations: 8.219 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.934e-05/0.1339, allocations: 47.78 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.134, allocations: 27.84 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.134, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.1341, allocations: 35.98 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.1341, allocations: 15.92 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.1342, allocations: 37.64 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1344, allocations: 84.09 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1344, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1344, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1344, allocations: 0 / 474.3 MB, free: 10.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004945/0.1349, allocations: 402.9 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1349, allocations: 8.031 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.135, allocations: 11.84 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1352, allocations: 206.8 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1352, allocations: 0 / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1353, allocations: 8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1354, allocations: 57.56 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1354, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1355, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1355, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.1356, allocations: 19.98 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1359, allocations: 280.9 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1361, allocations: 62.61 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.1362, allocations: 28.84 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1362, allocations: 0 / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.1364, allocations: 67.39 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1365, allocations: 0 / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.137, allocations: 169.2 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1371, allocations: 55.41 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1373, allocations: 182.2 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1373, allocations: 33.69 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1374, allocations: 96.14 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1374, allocations: 31.62 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.1375, allocations: 8 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1376, allocations: 322.8 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.1377, allocations: 16 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.1377, allocations: 37.64 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.1378, allocations: 31.98 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1378, allocations: 7.938 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.138, allocations: 97.44 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.138, allocations: 4 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1381, allocations: 0 / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1381, allocations: 4 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.1382, allocations: 15.98 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1382, allocations: 0 / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.1382, allocations: 8.031 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1382, allocations: 4 kB / 476.5 MB, free: 8.516 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000107/0.1384, allocations: 130.3 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.1384, allocations: 8.094 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.1384, allocations: 16.72 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1384, allocations: 7.938 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1385, allocations: 3.984 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1385, allocations: 0 / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1389, allocations: 391.3 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1389, allocations: 0 / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.1389, allocations: 15.92 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1389, allocations: 4 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.139, allocations: 4 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.139, allocations: 0 / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.139, allocations: 0 / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1392, allocations: 208.4 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1393, allocations: 89.02 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1393, allocations: 4 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.1394, allocations: 3.984 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1394, allocations: 8 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1395, allocations: 8.312 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1396, allocations: 143 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 0 / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1399, allocations: 28 kB / 477.6 MB, free: 7.359 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00107/0.1409, allocations: 472.1 kB / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1411, allocations: 63.91 kB / 478.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1411, allocations: 0 / 478.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.1412, allocations: 27.98 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1415, allocations: 30.75 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.142, allocations: 242.4 kB / 478.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1423, allocations: 0.7043 MB / 479.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.1423, allocations: 13.19 kB / 479.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.1424, allocations: 19.42 kB / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1424, allocations: 7.938 kB / 479.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of Templates: time 0.004456/0.1468, allocations: 1.583 MB / 480.7 MB, free: 4.344 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches