Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 102.4 kB / 16.27 MB, free: 5.93 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.00151/0.00151, allocations: 187.6 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2424/0.2424, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 71.81 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1348, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003366/0.1382, allocations: 1.837 MB / 442.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1397, allocations: 0.8896 MB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1399, allocations: 3.938 kB / 443.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.1403, allocations: 167.5 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1407, allocations: 139.5 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.1411, allocations: 143 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.1414, allocations: 211.4 kB / 443.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1416, allocations: 21.83 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1417, allocations: 103.6 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1419, allocations: 127.5 kB / 444.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1419, allocations: 8 kB / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1421, allocations: 43.98 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.1421, allocations: 39.84 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.1422, allocations: 83.41 kB / 444.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1425, allocations: 191.3 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1425, allocations: 0 / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1425, allocations: 4 kB / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1425, allocations: 0 / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006228/0.1431, allocations: 0.5098 MB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1432, allocations: 15.89 kB / 445 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.1433, allocations: 24.66 kB / 445.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.1436, allocations: 263.5 kB / 445.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1436, allocations: 8.375 kB / 445.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1436, allocations: 12.11 kB / 445.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1438, allocations: 99.36 kB / 445.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1439, allocations: 0 / 445.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1439, allocations: 0 / 445.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1439, allocations: 3.984 kB / 445.4 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.144, allocations: 47.91 kB / 445.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1445, allocations: 436.9 kB / 445.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1447, allocations: 117.3 kB / 446 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.1448, allocations: 49.62 kB / 446.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1448, allocations: 8 kB / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.1451, allocations: 109 kB / 446.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.1451, allocations: 3.938 kB / 446.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009277/0.1461, allocations: 360 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1461, allocations: 93.05 kB / 446.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1464, allocations: 347 kB / 447 MB, free: 208 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1464, allocations: 29.7 kB / 447 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1465, allocations: 140.4 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.1466, allocations: 47.36 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.1466, allocations: 37.7 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1468, allocations: 334.8 kB / 447.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1469, allocations: 51.94 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.147, allocations: 68.61 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1472, allocations: 119.3 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1473, allocations: 0 / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003465/0.1476, allocations: 181.5 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1476, allocations: 4 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1476, allocations: 0 / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.1477, allocations: 4 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1478, allocations: 31.92 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1478, allocations: 11.92 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.1479, allocations: 8 kB / 448 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.148, allocations: 4 kB / 448 MB, free: 15.1 MB / 334.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001446/0.1481, allocations: 161.7 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1482, allocations: 31.61 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.1482, allocations: 33.73 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1482, allocations: 4 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1483, allocations: 3.938 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1483, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.149, allocations: 0.6125 MB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1491, allocations: 0.75 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.1491, allocations: 19.98 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1491, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1492, allocations: 4 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1492, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.1492, allocations: 11.94 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.1496, allocations: 356.2 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.1497, allocations: 100.8 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1497, allocations: 11.92 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1498, allocations: 8 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1499, allocations: 7.984 kB / 449.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1499, allocations: 23.92 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.1502, allocations: 257.9 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1502, allocations: 0 / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1505, allocations: 39.98 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001106/0.1516, allocations: 474.4 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.152, allocations: 127.8 kB / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.152, allocations: 0 / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1521, allocations: 55.91 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.1527, allocations: 71.36 kB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.1535, allocations: 434.8 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1539, allocations: 0.7554 MB / 451.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.154, allocations: 33.88 kB / 451.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.1541, allocations: 23.42 kB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1541, allocations: 0 / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.008535/0.1626, allocations: 2.693 MB / 454.3 MB, free: 8.703 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches