Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0008025/0.0008025, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003352/0.003352, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8693/0.8693, allocations: 177.2 MB / 205 MB, free: 5.723 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.2315/0.2315, allocations: 34.25 MB / 295.7 MB, free: 0.6953 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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.992e-05, allocations: 8.391 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.158/0.158, allocations: 1.584 MB / 445 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006041/0.1586, allocations: 0.5181 MB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.1586, allocations: 0 / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1588, allocations: 31.3 kB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.159, allocations: 77.31 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.1592, allocations: 93.5 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1593, allocations: 72.66 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.1594, allocations: 9.375 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.1594, allocations: 33.03 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.1594, allocations: 20.34 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1595, allocations: 3.031 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.1595, allocations: 31.05 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.1595, allocations: 10.5 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1596, allocations: 18.73 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1597, allocations: 75.97 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1597, allocations: 2.875 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1597, allocations: 3.062 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1597, allocations: 0 / 446 MB, free: 43.45 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.0002832/0.16, allocations: 311 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.16, allocations: 9.375 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.16, allocations: 8.391 kB / 446.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.1601, allocations: 132 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1601, allocations: 5.984 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1602, allocations: 6.797 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/0.1602, allocations: 49.67 kB / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1603, allocations: 192 / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1603, allocations: 4.125 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1603, allocations: 0 / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.1603, allocations: 33.09 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1605, allocations: 220.4 kB / 446.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1606, allocations: 42.34 kB / 446.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.1607, allocations: 18.7 kB / 446.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1607, allocations: 3.938 kB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.026e-05/0.1607, allocations: 36.66 kB / 446.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.1607, allocations: 0 / 446.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003219/0.161, allocations: 142.1 kB / 447 MB, free: 42.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.161, allocations: 55.34 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.1611, allocations: 149.9 kB / 447.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.1611, allocations: 32.45 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.1611, allocations: 91.67 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1612, allocations: 22.3 kB / 447.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.1612, allocations: 16 kB / 447.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.72e-05/0.1612, allocations: 322.7 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.1612, allocations: 13.97 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.1613, allocations: 24.31 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.1613, allocations: 46.73 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1613, allocations: 3.281 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.027e-05/0.1614, allocations: 81.39 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1614, allocations: 5.625 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1614, allocations: 3.938 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1614, allocations: 2.719 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.1615, allocations: 16.06 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1615, allocations: 1 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.1615, allocations: 6.562 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1615, allocations: 2.906 kB / 447.9 MB, free: 41.96 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 3.797e-05/0.1615, allocations: 117.4 kB / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1615, allocations: 13.27 kB / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1617, allocations: 87.84 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1617, allocations: 0 / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1617, allocations: 3.125 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1617, allocations: 4 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1618, allocations: 288.5 kB / 448.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1618, allocations: 2.75 kB / 448.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.1619, allocations: 15.59 kB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.1619, allocations: 0 / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1619, allocations: 6.5 kB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1619, allocations: 0 / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1619, allocations: 0 / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.507e-05/0.162, allocations: 182.4 kB / 448.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.162, allocations: 13.77 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.162, allocations: 2.656 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.162, allocations: 2.656 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.162, allocations: 3.328 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.162, allocations: 2.656 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.1621, allocations: 121 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1621, allocations: 0 / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.1622, allocations: 12.12 kB / 448.8 MB, free: 41.27 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.0006086/0.1628, allocations: 448.7 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1629, allocations: 48.84 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1629, allocations: 0 / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.163, allocations: 25.23 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1632, allocations: 13.69 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.1635, allocations: 207 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.1635, allocations: 79.83 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.1635, allocations: 14.09 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1635, allocations: 0 / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of Templates: time 0.001814/0.1653, allocations: 1.467 MB / 451.1 MB, free: 40.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.65252096299082]