Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 108.3 kB / 17.04 MB, free: 5.797 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.001298/0.001298, allocations: 195 kB / 17.98 MB, free: 5.016 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.634/1.634, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2348/0.2348, 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.002859/0.002859, allocations: 67.78 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1542, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002511/0.1568, allocations: 1.55 MB / 443.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004967/0.1573, allocations: 327.5 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.1574, allocations: 4 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1576, allocations: 23.84 kB / 443.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1578, allocations: 35.84 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.158, allocations: 95.38 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1581, allocations: 51.91 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.1582, allocations: 23.91 kB / 444.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.1583, allocations: 15.88 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.1583, allocations: 19.92 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1583, allocations: 4 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.1584, allocations: 35.92 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.1585, allocations: 15.92 kB / 444.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1585, allocations: 15.88 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1586, allocations: 79.72 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1587, allocations: 0 / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1587, allocations: 0 / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1587, allocations: 0 / 444.2 MB, free: 3.855 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.0003806/0.1591, allocations: 371.2 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1591, allocations: 11.89 kB / 444.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1591, allocations: 12.84 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1593, allocations: 192.2 kB / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1593, allocations: 384 / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1593, allocations: 4.375 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1594, allocations: 49.81 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1595, allocations: 0 / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1595, allocations: 4 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1595, allocations: 0 / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.1596, allocations: 23.97 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1599, allocations: 284.8 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1601, allocations: 42.5 kB / 445.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.1601, allocations: 20.94 kB / 445.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1602, allocations: 0 / 445.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.1602, allocations: 34.56 kB / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1602, allocations: 0 / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004835/0.1607, allocations: 153.3 kB / 445.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.1607, allocations: 51.41 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.1608, allocations: 142.1 kB / 445.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.1608, allocations: 25.7 kB / 445.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.1609, allocations: 100.1 kB / 445.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.1609, allocations: 23.59 kB / 445.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1609, allocations: 17.72 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.161, allocations: 326.8 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.161, allocations: 19.98 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.1611, allocations: 23.92 kB / 446.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1612, allocations: 52.83 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1612, allocations: 0 / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/0.1614, allocations: 85.84 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1614, allocations: 5.25 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1614, allocations: 4.062 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1614, allocations: 0 / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.1615, allocations: 15.98 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1615, allocations: 0 / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.1615, allocations: 3.906 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.1615, allocations: 8 kB / 446.3 MB, free: 1.562 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 5.744e-05/0.1616, allocations: 129.6 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1616, allocations: 4 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.1618, allocations: 89.97 kB / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1618, allocations: 4 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1618, allocations: 0 / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1619, allocations: 3.984 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.1622, allocations: 358.4 kB / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1622, allocations: 0 / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.1622, allocations: 11.98 kB / 446.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1622, allocations: 0 / 446.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1622, allocations: 0 / 446.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1623, allocations: 7.938 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1623, allocations: 0 / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.1624, allocations: 187.4 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.1625, allocations: 81.11 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1625, allocations: 192 / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.1625, allocations: 15.92 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1626, allocations: 0 / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1626, allocations: 4 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.251e-05/0.1626, allocations: 114.6 kB / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 7.938 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1629, allocations: 16 kB / 447.3 MB, free: 460 kB / 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.0008211/0.1637, allocations: 394.4 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1639, allocations: 51.97 kB / 447.8 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1639, allocations: 0 / 447.8 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.164, allocations: 27.92 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1643, allocations: 23.97 kB / 447.8 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.1647, allocations: 169.7 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.165, allocations: 0.6924 MB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.165, allocations: 15.98 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.1651, allocations: 15.44 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1651, allocations: 4 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Templates: time 0.003733/0.1688, allocations: 1.101 MB / 449.8 MB, free: 14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches