Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 108.8 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4398/0.4398, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 55.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.14, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003889/0.1439, allocations: 1.764 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1455, allocations: 0.7923 MB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.1456, allocations: 0 / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.146, allocations: 35.89 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.1463, allocations: 51.81 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1467, allocations: 71.86 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1469, allocations: 95.69 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.147, allocations: 16.2 kB / 489.8 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.1471, allocations: 43.73 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.1472, allocations: 27.86 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1472, allocations: 3.984 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1473, allocations: 39.98 kB / 490 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1474, allocations: 19.92 kB / 490 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.1475, allocations: 35.73 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1477, allocations: 115.8 kB / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1477, allocations: 4 kB / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1477, allocations: 0 / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1477, allocations: 4 kB / 490.1 MB, free: 9.398 MB / 378.7 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.0006148/0.1484, allocations: 414.9 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1484, allocations: 8.031 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.1485, allocations: 12.84 kB / 490.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1487, allocations: 208.7 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1487, allocations: 4.375 kB / 490.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1488, allocations: 12.11 kB / 490.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.149, allocations: 61.61 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.149, allocations: 0 / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.149, allocations: 4 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.149, allocations: 0 / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.1491, allocations: 15.98 kB / 490.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1495, allocations: 284.9 kB / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1497, allocations: 66.61 kB / 491.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.1498, allocations: 16.86 kB / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1498, allocations: 3.938 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.1501, allocations: 71.38 kB / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.1501, allocations: 0 / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005482/0.1506, allocations: 177.1 kB / 491.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1507, allocations: 51.41 kB / 491.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1509, allocations: 201.5 kB / 491.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1509, allocations: 25.7 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.151, allocations: 104.1 kB / 491.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.151, allocations: 23.7 kB / 491.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1511, allocations: 21.72 kB / 491.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1512, allocations: 326.8 kB / 492.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.1513, allocations: 27.92 kB / 492.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.1513, allocations: 41.64 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1515, allocations: 49.72 kB / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1515, allocations: 3.984 kB / 492.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.1517, allocations: 105.4 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1517, allocations: 4 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1517, allocations: 4.031 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1517, allocations: 4.375 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.1518, allocations: 15.98 kB / 492.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1518, allocations: 160 / 492.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.1519, allocations: 11.94 kB / 492.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1519, allocations: 7.984 kB / 492.5 MB, free: 6.824 MB / 378.7 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.0001179/0.152, allocations: 133.7 kB / 492.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1521, allocations: 7.906 kB / 492.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.1521, allocations: 17.41 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1521, allocations: 4 kB / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1521, allocations: 0 / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1521, allocations: 7.922 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1526, allocations: 395.2 kB / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1526, allocations: 0 / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1526, allocations: 8 kB / 493 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1526, allocations: 0 / 493 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1527, allocations: 11.94 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.1527, allocations: 4.031 kB / 493 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1527, allocations: 0 / 493 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.1532, allocations: 0.7834 MB / 493.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.1533, allocations: 88.92 kB / 493.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1533, allocations: 11.94 kB / 493.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.1534, allocations: 4 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1534, allocations: 3.984 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1535, allocations: 4 kB / 493.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1536, allocations: 156.2 kB / 494.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1536, allocations: 0 / 494.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.1539, allocations: 24 kB / 494.1 MB, free: 5.027 MB / 378.7 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.001019/0.155, allocations: 476.9 kB / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1552, allocations: 55.91 kB / 494.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1552, allocations: 4 kB / 494.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.1553, allocations: 31.92 kB / 494.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1556, allocations: 28.05 kB / 494.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.1562, allocations: 387.8 kB / 495.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1565, allocations: 0.7004 MB / 495.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.722e-05/0.1565, allocations: 25.17 kB / 495.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1566, allocations: 19.44 kB / 495.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1566, allocations: 0 / 495.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of Templates: time 0.004051/0.1606, allocations: 1.669 MB / 497.5 MB, free: 1.629 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches