Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008206/0.0008206, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003035/0.003035, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8886/0.8886, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 34.26 MB / 295.7 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.885e-05, allocations: 7.766 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.1664/0.1664, allocations: 1.587 MB / 445 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006709/0.1671, allocations: 0.5309 MB / 445.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.1672, allocations: 3.094 kB / 445.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1674, allocations: 24.61 kB / 445.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1676, allocations: 84.17 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1678, allocations: 111.7 kB / 445.8 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1679, allocations: 74.41 kB / 445.9 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.168, allocations: 6.406 kB / 445.9 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.168, allocations: 30.84 kB / 445.9 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.1681, allocations: 20.36 kB / 445.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1681, allocations: 3.469 kB / 445.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.1681, allocations: 37.8 kB / 446 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.1682, allocations: 14.19 kB / 446 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1682, allocations: 9.781 kB / 446 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1683, allocations: 85.62 kB / 446.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1683, allocations: 7.5 kB / 446.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1683, allocations: 0 / 446.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1683, allocations: 0 / 446.1 MB, free: 43.51 MB / 410.7 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.0003202/0.1687, allocations: 313.3 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1687, allocations: 8.75 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1687, allocations: 10.73 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1688, allocations: 134 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1688, allocations: 3.344 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1689, allocations: 7.75 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.169, allocations: 55.27 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.169, allocations: 192 / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.169, allocations: 4.125 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.169, allocations: 0 / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.169, allocations: 28.92 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1692, allocations: 226.2 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1694, allocations: 44.83 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.1694, allocations: 17.86 kB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1694, allocations: 8.375 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.1695, allocations: 35.98 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1695, allocations: 3.062 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003509/0.1698, allocations: 153.4 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.1698, allocations: 55.41 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.1699, allocations: 163.1 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.1699, allocations: 29.7 kB / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.1699, allocations: 94.95 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.17, allocations: 13.88 kB / 447.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.17, allocations: 19.19 kB / 447.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.17, allocations: 324.5 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.1701, allocations: 18.53 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.1701, allocations: 22.19 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.1701, allocations: 58.52 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1702, allocations: 1.5 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.859e-05/0.1702, allocations: 92.8 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1703, allocations: 7.5 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1703, allocations: 1.25 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1703, allocations: 0 / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.1703, allocations: 12.52 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1703, allocations: 2.719 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.1703, allocations: 10.23 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1703, allocations: 0 / 448 MB, free: 41.94 MB / 410.7 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 4.186e-05/0.1704, allocations: 120.9 kB / 448.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1704, allocations: 10.3 kB / 448.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.1705, allocations: 101.2 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1705, allocations: 3.938 kB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1705, allocations: 3.188 kB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1705, allocations: 0 / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.1707, allocations: 303.7 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1707, allocations: 2.812 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.1707, allocations: 11.58 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1708, allocations: 2.844 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.1708, allocations: 0 / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1708, allocations: 0 / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1708, allocations: 0 / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.178e-05/0.1709, allocations: 189.6 kB / 448.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.1709, allocations: 11.02 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1709, allocations: 4 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.1709, allocations: 6.078 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.1709, allocations: 3.094 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1709, allocations: 0 / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.171, allocations: 132.3 kB / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.171, allocations: 0 / 448.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000157/0.1711, allocations: 19.81 kB / 448.9 MB, free: 41.23 MB / 410.7 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.0006386/0.1718, allocations: 438.6 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1719, allocations: 57.12 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1719, allocations: 0 / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.1719, allocations: 23.25 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1722, allocations: 16.83 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.1725, allocations: 222.7 kB / 449.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.1725, allocations: 85.81 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.1725, allocations: 13.5 kB / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1725, allocations: 0 / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of Templates: time 0.001998/0.1745, allocations: 1.532 MB / 451.3 MB, free: 40.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.555502428673208]