Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 103.7 kB / 16.64 MB, free: 6.82 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.001054/0.001054, allocations: 190.5 kB / 17.56 MB, free: 5.941 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.381/1.381, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2261/0.2261, allocations: 43.52 MB / 314.3 MB, free: 0.7031 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.001445/0.001445, allocations: 68.06 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.138, allocations: 57.8 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003288/0.1413, allocations: 1.893 MB / 442.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1426, allocations: 0.8858 MB / 443.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1427, allocations: 4 kB / 443.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.1432, allocations: 211.6 kB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1435, allocations: 159.5 kB / 443.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1438, allocations: 131.8 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.1441, allocations: 219.4 kB / 444.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1442, allocations: 21.84 kB / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1444, allocations: 123.5 kB / 444.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1445, allocations: 151.5 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1446, allocations: 8 kB / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.1447, allocations: 43.98 kB / 444.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.1447, allocations: 59.77 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.1448, allocations: 83.34 kB / 444.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.145, allocations: 155.7 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.145, allocations: 4 kB / 444.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.145, allocations: 0 / 444.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.145, allocations: 0 / 444.8 MB, free: 3.199 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.0006076/0.1457, allocations: 0.5486 MB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1457, allocations: 11.89 kB / 445.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.1458, allocations: 24.66 kB / 445.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.146, allocations: 280 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.146, allocations: 4.375 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1461, allocations: 16.11 kB / 445.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1463, allocations: 91.36 kB / 445.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1463, allocations: 3.938 kB / 445.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1463, allocations: 8 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1463, allocations: 0 / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1465, allocations: 39.91 kB / 445.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1469, allocations: 449 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1471, allocations: 113.3 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.1472, allocations: 49.69 kB / 446.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1472, allocations: 7.938 kB / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1475, allocations: 109 kB / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1475, allocations: 0 / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007706/0.1483, allocations: 368.6 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1483, allocations: 85.05 kB / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1487, allocations: 420.5 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1487, allocations: 37.64 kB / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.1487, allocations: 152.3 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1488, allocations: 55.28 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1488, allocations: 33.72 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.149, allocations: 350.8 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1491, allocations: 44 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1493, allocations: 71.41 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1495, allocations: 115.3 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1495, allocations: 4 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003164/0.1498, allocations: 181.5 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1498, allocations: 4 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1498, allocations: 0 / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1499, allocations: 4 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.15, allocations: 27.98 kB / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.15, allocations: 15.94 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.1501, allocations: 11.98 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1501, allocations: 8.062 kB / 448.5 MB, free: 15.23 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.0001665/0.1503, allocations: 165.7 kB / 448.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.1503, allocations: 31.62 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.1504, allocations: 42.56 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1504, allocations: 0 / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1504, allocations: 3.938 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1505, allocations: 0 / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/0.1513, allocations: 0.628 MB / 449.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1513, allocations: 0 / 449.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.1513, allocations: 27.92 kB / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1513, allocations: 0 / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1514, allocations: 4 kB / 449.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1514, allocations: 0 / 449.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1514, allocations: 4 kB / 449.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.1518, allocations: 368.1 kB / 449.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.1519, allocations: 96.81 kB / 449.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1519, allocations: 11.98 kB / 449.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1521, allocations: 4 kB / 449.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.1521, allocations: 23.92 kB / 449.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.1522, allocations: 7.984 kB / 449.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.1525, allocations: 319 kB / 450.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1525, allocations: 0 / 450.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.1528, allocations: 40 kB / 450.2 MB, free: 13.36 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.001155/0.154, allocations: 486.7 kB / 450.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.1543, allocations: 119.8 kB / 450.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1543, allocations: 0 / 450.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1544, allocations: 59.91 kB / 450.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.155, allocations: 67.59 kB / 450.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/0.1559, allocations: 0.5821 MB / 451.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.1563, allocations: 0.7671 MB / 452.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1564, allocations: 27.44 kB / 452.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1564, allocations: 0 / 452.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of Templates: time 0.005314/0.1617, allocations: 3.272 MB / 455.6 MB, free: 8.02 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time