Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 97.8 kB / 16.02 MB, free: 84 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.00112/0.001121, allocations: 181.7 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.4635/0.4635, allocations: 43.57 MB / 315 MB, free: 9.047 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.0005562/0.0005564, allocations: 16 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 58.87 MB / 443.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002401/0.1552, allocations: 1.271 MB / 444.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.157, allocations: 0.9025 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.1572, allocations: 8 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.1575, allocations: 15.94 kB / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1577, allocations: 39.84 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.158, allocations: 59.91 kB / 445.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1582, allocations: 55.84 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1584, allocations: 7.984 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.1584, allocations: 23.86 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1586, allocations: 27.91 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1587, allocations: 4 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1588, allocations: 39.98 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1589, allocations: 15.92 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.159, allocations: 49.5 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1592, allocations: 87.94 kB / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1593, allocations: 0 / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1593, allocations: 0 / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1593, allocations: 0 / 446 MB, free: 10.27 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.0005867/0.1599, allocations: 375.3 kB / 446.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1599, allocations: 8.031 kB / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.16, allocations: 8.844 kB / 446.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1602, allocations: 192.2 kB / 446.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1603, allocations: 384 / 446.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1603, allocations: 4.375 kB / 446.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1605, allocations: 67.47 kB / 446.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1605, allocations: 3.984 kB / 446.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1605, allocations: 4 kB / 446.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1605, allocations: 4 kB / 446.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.661e-05/0.1606, allocations: 27.97 kB / 446.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.161, allocations: 264.9 kB / 447 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1612, allocations: 54.48 kB / 447 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1613, allocations: 16.86 kB / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1613, allocations: 0 / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1614, allocations: 30.56 kB / 447.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1614, allocations: 0 / 447.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005816/0.1619, allocations: 161.4 kB / 447.2 MB, free: 8.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.162, allocations: 81.09 kB / 447.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1621, allocations: 129.8 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1622, allocations: 33.7 kB / 447.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1622, allocations: 92.06 kB / 447.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1623, allocations: 15.81 kB / 447.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.1623, allocations: 9.719 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1624, allocations: 326.8 kB / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.1625, allocations: 15.98 kB / 447.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.1626, allocations: 41.7 kB / 448 MB, free: 8.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1627, allocations: 56.77 kB / 448 MB, free: 8.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1627, allocations: 0 / 448 MB, free: 8.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1629, allocations: 85.61 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.163, allocations: 8 kB / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.163, allocations: 0 / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.163, allocations: 0 / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.1631, allocations: 19.92 kB / 448.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1631, allocations: 0 / 448.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.1631, allocations: 12 kB / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1631, allocations: 4 kB / 448.2 MB, free: 7.918 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 9.705e-05/0.1632, allocations: 129.7 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1633, allocations: 7.844 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.1635, allocations: 97.62 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1635, allocations: 0 / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1635, allocations: 0 / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1635, allocations: 0 / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.164, allocations: 358.8 kB / 448.7 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.164, allocations: 4 kB / 448.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.164, allocations: 16 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1641, allocations: 0 / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1641, allocations: 0 / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1641, allocations: 3.938 kB / 448.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1641, allocations: 0 / 448.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1643, allocations: 187.4 kB / 448.9 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1644, allocations: 85.02 kB / 449 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1644, allocations: 3.984 kB / 449 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1645, allocations: 15.88 kB / 449 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1645, allocations: 7.984 kB / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1645, allocations: 0 / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.1646, allocations: 107.3 kB / 449.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1646, allocations: 0 / 449.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1649, allocations: 20 kB / 449.2 MB, free: 6.789 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.001086/0.166, allocations: 449.8 kB / 449.6 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1662, allocations: 51.97 kB / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1662, allocations: 0 / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.1663, allocations: 35.91 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1666, allocations: 12 kB / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.167, allocations: 176.7 kB / 449.9 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1674, allocations: 0.6887 MB / 450.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.1674, allocations: 7.984 kB / 450.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1675, allocations: 23.42 kB / 450.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1675, allocations: 0 / 450.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of Templates: time 0.004017/0.1715, allocations: 1.287 MB / 451.9 MB, free: 4.055 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches