Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001888, allocations: 204.5 kB / 16.79 MB, free: 6.84 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.764/1.764, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.401/0.401, allocations: 43.5 MB / 313.5 MB, free: 8.594 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.001403/0.001403, allocations: 71.91 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.151, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003125/0.1542, allocations: 1.61 MB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006542/0.1549, allocations: 323.5 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.1549, allocations: 4 kB / 441.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1552, allocations: 87.81 kB / 441.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.1554, allocations: 63.86 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1557, allocations: 95.75 kB / 442 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1558, allocations: 63.89 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1559, allocations: 19.97 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.156, allocations: 39.72 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.1561, allocations: 43.89 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1561, allocations: 4 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.1562, allocations: 23.98 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1562, allocations: 19.92 kB / 442.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1563, allocations: 27.75 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1564, allocations: 99.92 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1564, allocations: 0 / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1565, allocations: 0 / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1565, allocations: 0 / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004888/0.157, allocations: 410.9 kB / 442.7 MB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.157, allocations: 8.031 kB / 442.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.1571, allocations: 12.84 kB / 442.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1572, allocations: 196.7 kB / 442.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1573, allocations: 4.375 kB / 442.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1573, allocations: 4.375 kB / 442.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1574, allocations: 57.8 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1575, allocations: 0 / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1575, allocations: 0 / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1575, allocations: 0 / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.1576, allocations: 23.98 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.158, allocations: 300.8 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1582, allocations: 46.56 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1583, allocations: 16.94 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1583, allocations: 0 / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1583, allocations: 30.56 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1583, allocations: 0 / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005577/0.1589, allocations: 165.2 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1589, allocations: 51.41 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1591, allocations: 222.4 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1592, allocations: 29.69 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.1592, allocations: 108 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.1593, allocations: 19.73 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1593, allocations: 21.72 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1594, allocations: 326.8 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.1595, allocations: 19.98 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.1596, allocations: 19.98 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1597, allocations: 48.83 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1597, allocations: 0 / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001913/0.1599, allocations: 93.56 kB / 444.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1599, allocations: 4 kB / 444.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.16, allocations: 3.984 kB / 444.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.16, allocations: 11.88 kB / 444.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.16, allocations: 15.92 kB / 444.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1601, allocations: 0 / 444.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.1601, allocations: 4 kB / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1601, allocations: 256 / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000108/0.1602, allocations: 141.7 kB / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1603, allocations: 11.81 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1605, allocations: 106.6 kB / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1605, allocations: 0 / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1605, allocations: 0 / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1605, allocations: 0 / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.161, allocations: 370.4 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.161, allocations: 0 / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.161, allocations: 11.98 kB / 445.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.161, allocations: 0 / 445.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1611, allocations: 0 / 445.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1611, allocations: 7.938 kB / 445.2 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1611, allocations: 0 / 445.2 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1613, allocations: 187.4 kB / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1614, allocations: 81.02 kB / 445.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1614, allocations: 8 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1615, allocations: 7.922 kB / 445.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1615, allocations: 4 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1615, allocations: 0 / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1617, allocations: 176.2 kB / 445.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1617, allocations: 0 / 445.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1619, allocations: 12 kB / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009767/0.1629, allocations: 416.5 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1631, allocations: 47.91 kB / 446.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1631, allocations: 4 kB / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.1632, allocations: 27.97 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1636, allocations: 15.19 kB / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.1641, allocations: 264.4 kB / 446.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1644, allocations: 0.7043 MB / 447.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.1645, allocations: 15.98 kB / 447.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1645, allocations: 15.44 kB / 447.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1645, allocations: 0 / 447.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of Templates: time 0.003714/0.1683, allocations: 1.089 MB / 448.2 MB, free: 6.039 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches