Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.002299/0.002299, allocations: 191.2 kB / 17.2 MB, free: 5.574 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.586/1.586, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.283/0.283, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001603/0.001603, allocations: 65.09 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1536, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003598/0.1573, allocations: 1.543 MB / 442.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.1579, allocations: 315.5 kB / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.158, allocations: 0 / 442.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1583, allocations: 23.86 kB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1585, allocations: 43.7 kB / 442.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1587, allocations: 67.84 kB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.1588, allocations: 55.84 kB / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.159, allocations: 19.92 kB / 442.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.159, allocations: 19.92 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.1591, allocations: 15.88 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1591, allocations: 4 kB / 442.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.1592, allocations: 23.98 kB / 442.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1592, allocations: 19.91 kB / 442.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1593, allocations: 15.88 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1594, allocations: 75.8 kB / 442.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1594, allocations: 3.938 kB / 442.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1594, allocations: 4 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1594, allocations: 0 / 442.8 MB, free: 4.637 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004504/0.1599, allocations: 367.2 kB / 443.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1599, allocations: 19.88 kB / 443.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.16, allocations: 8.844 kB / 443.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1602, allocations: 184.2 kB / 443.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1602, allocations: 4.375 kB / 443.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1602, allocations: 8.375 kB / 443.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1604, allocations: 49.81 kB / 443.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1604, allocations: 3.984 kB / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1604, allocations: 0 / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1604, allocations: 0 / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.1605, allocations: 27.91 kB / 443.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1608, allocations: 276.8 kB / 443.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.161, allocations: 42.56 kB / 443.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.1611, allocations: 20.8 kB / 443.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1611, allocations: 0 / 443.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.1611, allocations: 30.56 kB / 443.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1611, allocations: 0 / 443.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005533/0.1617, allocations: 137.4 kB / 443.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.1617, allocations: 63.33 kB / 444 MB, free: 3.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1618, allocations: 138.1 kB / 444.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.1619, allocations: 25.7 kB / 444.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.1619, allocations: 92.14 kB / 444.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1619, allocations: 23.64 kB / 444.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.162, allocations: 13.72 kB / 444.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.162, allocations: 330.8 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.1621, allocations: 19.98 kB / 444.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.1621, allocations: 15.98 kB / 444.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1623, allocations: 40.84 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1623, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.1624, allocations: 93.78 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1624, allocations: 4.938 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1625, allocations: 0 / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1625, allocations: 0 / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.1625, allocations: 12 kB / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1626, allocations: 0 / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.1626, allocations: 7.891 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1626, allocations: 4 kB / 444.8 MB, free: 2.387 MB / 318.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 8.475e-05/0.1627, allocations: 129.7 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1627, allocations: 4 kB / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.1629, allocations: 85.91 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1629, allocations: 4 kB / 445 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.163, allocations: 0 / 445 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.163, allocations: 3.984 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1633, allocations: 346.4 kB / 445.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1633, allocations: 4 kB / 445.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.1634, allocations: 8 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1634, allocations: 3.938 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1634, allocations: 0 / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1634, allocations: 3.938 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1634, allocations: 7.984 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1636, allocations: 171.6 kB / 445.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.1636, allocations: 81.11 kB / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1636, allocations: 4.062 kB / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.1637, allocations: 11.92 kB / 445.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.1637, allocations: 4 kB / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1638, allocations: 4 kB / 445.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.1638, allocations: 114.5 kB / 445.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1638, allocations: 0 / 445.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1641, allocations: 8 kB / 445.8 MB, free: 1.309 MB / 318.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.0009101/0.165, allocations: 417.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1652, allocations: 47.91 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1652, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.1653, allocations: 24.11 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1657, allocations: 19.73 kB / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.1662, allocations: 173.6 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1665, allocations: 0.6963 MB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.1666, allocations: 8 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.1666, allocations: 15.38 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1666, allocations: 0 / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Templates: time 0.004364/0.171, allocations: 1.083 MB / 448.2 MB, free: 14.87 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches