Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0008384/0.0008384, allocations: 87.62 kB / 21.44 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.003138/0.003138, allocations: 160.8 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.875/0.875, allocations: 177.1 MB / 205 MB, free: 5.719 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.2357/0.2357, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.16e-05, allocations: 2.281 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.1691/0.1691, allocations: 1.598 MB / 445.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.1697, allocations: 0.5528 MB / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.1698, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1699, allocations: 22.36 kB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1701, allocations: 84.47 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.1703, allocations: 113.6 kB / 445.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1704, allocations: 88.91 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.1704, allocations: 2.594 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.1705, allocations: 34.59 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.1705, allocations: 28.75 kB / 446 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1705, allocations: 3.344 kB / 446 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1706, allocations: 98.14 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.1707, allocations: 15.45 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.1707, allocations: 15.23 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1708, allocations: 153.1 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1708, allocations: 3.938 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1708, allocations: 0 / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1709, allocations: 0 / 446.3 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.0002568/0.1711, allocations: 337.1 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1711, allocations: 10.56 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.1712, allocations: 7.297 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.1713, allocations: 131.8 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1713, allocations: 8.344 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1713, allocations: 384 / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.1714, allocations: 92.67 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1714, allocations: 4.625 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1714, allocations: 4.125 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1714, allocations: 3.562 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.1714, allocations: 24.25 kB / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.1717, allocations: 236.7 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.1717, allocations: 51.45 kB / 447.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.1717, allocations: 22.92 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1718, allocations: 6.234 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.1718, allocations: 35 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.1718, allocations: 2.375 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003382/0.1721, allocations: 181.5 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1721, allocations: 80.34 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.1722, allocations: 150.3 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.1722, allocations: 29.7 kB / 447.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.1722, allocations: 94.91 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.1723, allocations: 26.12 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1723, allocations: 22.38 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.318e-05/0.1723, allocations: 318 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.1723, allocations: 30.86 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.1724, allocations: 69.48 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.1725, allocations: 83.75 kB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1725, allocations: 3.938 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001004/0.1726, allocations: 109.3 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.1726, allocations: 2.938 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1726, allocations: 0 / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.1726, allocations: 2.906 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.1726, allocations: 15.12 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.1726, allocations: 3 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.1727, allocations: 10.22 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1727, allocations: 6.875 kB / 448.4 MB, free: 41.68 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 (8): * Single equations (assignments): 8 * 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.346e-05/0.1727, allocations: 121.8 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.1727, allocations: 9.797 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.1729, allocations: 115.3 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1729, allocations: 0 / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1729, allocations: 4.562 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1729, allocations: 0 / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1731, allocations: 340.3 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1731, allocations: 0 / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.1731, allocations: 14.78 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.1731, allocations: 0 / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1731, allocations: 6.938 kB / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1731, allocations: 0 / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1731, allocations: 0 / 449 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.1732, allocations: 196.6 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.1732, allocations: 10.98 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1732, allocations: 4 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.574e-05/0.1733, allocations: 9.438 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1733, allocations: 8.016 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1733, allocations: 2.906 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.1733, allocations: 111.8 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1733, allocations: 0 / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.1735, allocations: 51.84 kB / 449.4 MB, free: 40.94 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 (7): * Single equations (assignments): 7 * 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.0006895/0.1742, allocations: 0.5289 MB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1743, allocations: 79.52 kB / 450 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1743, allocations: 0 / 450 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.1744, allocations: 38.33 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1746, allocations: 17.34 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.1748, allocations: 210.6 kB / 450.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.1749, allocations: 92.8 kB / 450.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1749, allocations: 24 kB / 450.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1749, allocations: 0 / 450.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of Templates: time 0.00213/0.177, allocations: 2.169 MB / 452.6 MB, free: 40.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.677183877676725]