Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001019/0.001019, allocations: 196 kB / 17.97 MB, free: 5.027 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.501/1.501, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2363/0.2363, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001486/0.001486, allocations: 73.34 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003215/0.1493, allocations: 1.7 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1505, allocations: 0.7923 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.1506, allocations: 3.938 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.151, allocations: 43.77 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1512, allocations: 59.69 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1515, allocations: 83.77 kB / 444.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1516, allocations: 91.75 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1517, allocations: 12.22 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.1518, allocations: 47.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.1519, allocations: 23.86 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1519, allocations: 4 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.152, allocations: 47.97 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.1521, allocations: 19.86 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.1521, allocations: 31.75 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1523, allocations: 111.6 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1523, allocations: 4 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1524, allocations: 4 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1524, allocations: 0 / 445 MB, free: 3.059 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.0005028/0.1529, allocations: 410.9 kB / 445.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1529, allocations: 15.83 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.153, allocations: 8.844 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1532, allocations: 221.1 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1532, allocations: 384 / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1533, allocations: 8.125 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1534, allocations: 53.67 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1535, allocations: 0 / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1535, allocations: 0 / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1535, allocations: 8 kB / 445.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.1535, allocations: 15.98 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1539, allocations: 284.8 kB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1541, allocations: 62.61 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.1542, allocations: 20.86 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1542, allocations: 4 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1544, allocations: 67.38 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1544, allocations: 0 / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005013/0.1549, allocations: 173.5 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1549, allocations: 59.41 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1551, allocations: 186.1 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1551, allocations: 33.7 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.1551, allocations: 104.1 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1552, allocations: 15.72 kB / 446.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1552, allocations: 25.7 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.1553, allocations: 330.7 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.1553, allocations: 28 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.1554, allocations: 33.7 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.88e-05/0.1555, allocations: 65.7 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1555, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001409/0.1556, allocations: 97.52 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1557, allocations: 4 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1557, allocations: 4.156 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1557, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.1558, allocations: 12 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1558, allocations: 3.984 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1559, allocations: 27.83 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1559, allocations: 4 kB / 447.4 MB, free: 496 kB / 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 8.613e-05/0.156, allocations: 121.8 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.156, allocations: 11.81 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.156, allocations: 16.7 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.156, allocations: 4 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1561, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1561, allocations: 3.938 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1565, allocations: 395.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1565, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.1565, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1565, allocations: 7.984 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1565, allocations: 7.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1565, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1565, allocations: 4 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1568, allocations: 204.2 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.1569, allocations: 81.02 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1569, allocations: 11.94 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.157, allocations: 3.984 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.157, allocations: 7.984 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.157, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1572, allocations: 143.2 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1572, allocations: 4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1574, allocations: 23.91 kB / 448.4 MB, free: 15.33 MB / 334.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.001122/0.1586, allocations: 476.1 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1588, allocations: 63.92 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1588, allocations: 0 / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.1588, allocations: 27.92 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1592, allocations: 27.92 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.1597, allocations: 219.6 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1601, allocations: 0.7042 MB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.1601, allocations: 16.86 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1602, allocations: 19.44 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1602, allocations: 0 / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.005112/0.1653, allocations: 1.685 MB / 451.6 MB, free: 12.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches