Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 102.7 kB / 16.27 MB, free: 5.969 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.001261/0.00126, allocations: 192 kB / 17.2 MB, free: 5.602 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.677/1.677, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2529/0.2529, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001601/0.001601, allocations: 80.73 kB / 382.7 MB, free: 56.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1442, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003569/0.1478, allocations: 1.693 MB / 442.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.149, allocations: 0.7961 MB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.1491, allocations: 0 / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1494, allocations: 51.77 kB / 443.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1496, allocations: 47.77 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1498, allocations: 87.75 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.15, allocations: 91.7 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1501, allocations: 8.516 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.1502, allocations: 39.8 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.1502, allocations: 31.84 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1503, allocations: 7.938 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1504, allocations: 43.98 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.1504, allocations: 15.92 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.1505, allocations: 35.78 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1507, allocations: 107.6 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1507, allocations: 0 / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1507, allocations: 0 / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1507, allocations: 0 / 443.6 MB, free: 3.852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004944/0.1512, allocations: 411 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1512, allocations: 15.89 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.1513, allocations: 12.75 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1515, allocations: 214.1 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1515, allocations: 384 / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1515, allocations: 8.125 kB / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1517, allocations: 53.67 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1517, allocations: 0 / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1517, allocations: 0 / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1517, allocations: 0 / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.1518, allocations: 23.98 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1522, allocations: 284.8 kB / 444.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1523, allocations: 58.67 kB / 444.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.1524, allocations: 16.86 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1524, allocations: 3.984 kB / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1526, allocations: 87.23 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1526, allocations: 0 / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.1532, allocations: 165.3 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1532, allocations: 55.34 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1533, allocations: 178.1 kB / 445.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1534, allocations: 29.7 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.1534, allocations: 96.14 kB / 445.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1534, allocations: 27.64 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1535, allocations: 25.72 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.1535, allocations: 322.8 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.1536, allocations: 19.98 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.627e-05/0.1537, allocations: 41.7 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.1538, allocations: 61.64 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1538, allocations: 0 / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.1539, allocations: 97.58 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1539, allocations: 8 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.154, allocations: 0 / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.154, allocations: 3.938 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.1541, allocations: 19.92 kB / 445.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1541, allocations: 4 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.1541, allocations: 3.938 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1541, allocations: 8.031 kB / 445.9 MB, free: 1.309 MB / 318.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 (10): * Single equations (assignments): 10 * 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 6.953e-05/0.1542, allocations: 129.8 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.1542, allocations: 11.81 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.1543, allocations: 12.72 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1543, allocations: 4 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1543, allocations: 0 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1543, allocations: 7.922 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.1546, allocations: 387.3 kB / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1546, allocations: 0 / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.1547, allocations: 12 kB / 446.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1547, allocations: 0 / 446.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1547, allocations: 7.938 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1547, allocations: 3.938 kB / 446.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1547, allocations: 0 / 446.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1549, allocations: 200.3 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.1549, allocations: 89.19 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.155, allocations: 3.938 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.155, allocations: 7.938 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1551, allocations: 7.984 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1551, allocations: 8.375 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.231e-05/0.1552, allocations: 123.2 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 4 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1554, allocations: 28 kB / 446.9 MB, free: 172 kB / 318.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 (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.001117/0.1565, allocations: 482.5 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1567, allocations: 59.92 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1568, allocations: 0 / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.1568, allocations: 27.98 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1572, allocations: 35.97 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.1576, allocations: 215 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.158, allocations: 0.7001 MB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.158, allocations: 13.2 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1581, allocations: 19.42 kB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1581, allocations: 0 / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Templates: time 0.004658/0.1627, allocations: 1.683 MB / 450.1 MB, free: 12.99 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches