Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 104.3 kB / 17.2 MB, free: 6.27 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.001077/0.001076, allocations: 194 kB / 18.12 MB, free: 5.363 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.349/1.349, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.09 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00309/0.1387, allocations: 1.764 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1401, allocations: 0.8615 MB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.1402, allocations: 0 / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.1404, allocations: 35.89 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1406, allocations: 51.77 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1409, allocations: 95.75 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.141, allocations: 91.7 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.1411, allocations: 12.23 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.1412, allocations: 35.8 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.1412, allocations: 39.77 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1413, allocations: 4 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1414, allocations: 39.98 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.1414, allocations: 19.91 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.1415, allocations: 31.75 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1417, allocations: 115.8 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.1417, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1417, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.1417, allocations: 4 kB / 471.7 MB, free: 11.65 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.0005032/0.1422, allocations: 418.8 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1422, allocations: 12.03 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.1423, allocations: 8.844 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1425, allocations: 212.8 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1425, allocations: 4.375 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1425, allocations: 8.125 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1427, allocations: 57.66 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1427, allocations: 4 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1427, allocations: 0 / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-06/0.1427, allocations: 0 / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.1428, allocations: 23.92 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1431, allocations: 292.8 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1433, allocations: 62.67 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.1434, allocations: 20.84 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1434, allocations: 4 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.1436, allocations: 67.33 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1436, allocations: 0 / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004965/0.1441, allocations: 177.1 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1442, allocations: 59.41 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1444, allocations: 191.3 kB / 473.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1444, allocations: 25.7 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1444, allocations: 100.1 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1445, allocations: 23.7 kB / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1445, allocations: 21.72 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1447, allocations: 330.8 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.1447, allocations: 19.98 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.1448, allocations: 37.7 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.145, allocations: 73.56 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.145, allocations: 0 / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1452, allocations: 89.59 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1452, allocations: 4 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1452, allocations: 7.938 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.1452, allocations: 192 / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.1453, allocations: 24.02 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1453, allocations: 3.938 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1454, allocations: 7.938 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1454, allocations: 4 kB / 474.1 MB, free: 9.059 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 (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 0.0001058/0.1455, allocations: 125.8 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1455, allocations: 16.19 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.1456, allocations: 17.39 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1456, allocations: 0 / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1456, allocations: 4 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1456, allocations: 7.938 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.1462, allocations: 391.3 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1462, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1463, allocations: 11.94 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1463, allocations: 4 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1463, allocations: 7.922 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1463, allocations: 0 / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1463, allocations: 32 / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1465, allocations: 204.4 kB / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1466, allocations: 85.02 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1466, allocations: 7.938 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1467, allocations: 3.984 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.1467, allocations: 8 kB / 474.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1468, allocations: 8 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1469, allocations: 148.9 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1469, allocations: 3.938 kB / 475.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1472, allocations: 27.98 kB / 475.1 MB, free: 7.895 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 (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.001046/0.1482, allocations: 476.5 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1484, allocations: 51.92 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1484, allocations: 3.938 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.145e-05/0.1485, allocations: 31.98 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1488, allocations: 33.78 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.1492, allocations: 253.1 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1495, allocations: 0.712 MB / 476.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1496, allocations: 21.19 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.1496, allocations: 23.42 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1496, allocations: 0 / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Templates: time 0.004309/0.154, allocations: 1.632 MB / 478.3 MB, free: 4.816 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches