Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007819/0.0007819, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001878, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009781/0.0009781, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00221/0.003188, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9777/0.9777, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1547/1.132, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.149/0.149, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0214/0.1704, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.878e-05, allocations: 6.312 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002929/0.002948, allocations: 1.644 MB / 287.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.004325, allocations: 1.177 MB / 288.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.004361, allocations: 0 / 288.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.00446, allocations: 31.66 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004565, allocations: 39.73 kB / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.004741, allocations: 95.62 kB / 288.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.733e-05/0.004829, allocations: 59.8 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.00488, allocations: 11.92 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.004944, allocations: 43.91 kB / 289 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.005014, allocations: 15.98 kB / 289 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.005026, allocations: 4 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.005112, allocations: 55.84 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.005138, allocations: 4 kB / 289 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.005155, allocations: 11.94 kB / 289.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.005272, allocations: 75.67 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.005281, allocations: 4 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005282, allocations: 4 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.005288, allocations: 0 / 289.1 MB, free: 5.098 MB / 282.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.0002496/0.005538, allocations: 284.2 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.387e-05/0.005561, allocations: 12.03 kB / 289.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.005581, allocations: 8.922 kB / 289.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.005674, allocations: 129.5 kB / 289.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.005681, allocations: 4.375 kB / 289.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.005694, allocations: 8.359 kB / 289.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.96e-05/0.005773, allocations: 94.38 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.005779, allocations: 4.141 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-06/0.005785, allocations: 8.125 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.005789, allocations: 4 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.005807, allocations: 7.984 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.005977, allocations: 163.1 kB / 289.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.006067, allocations: 30.56 kB / 289.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.197e-05/0.006079, allocations: 8.938 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.006091, allocations: 4 kB / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.006107, allocations: 34.62 kB / 289.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.006107, allocations: 0 / 289.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001963/0.006304, allocations: 77.53 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.006324, allocations: 59.41 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.006399, allocations: 136.2 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.006408, allocations: 25.7 kB / 290.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.006436, allocations: 92.12 kB / 290.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.006452, allocations: 15.89 kB / 290.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.006474, allocations: 13.72 kB / 290.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.006548, allocations: 326.8 kB / 290.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.006555, allocations: 0 / 290.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.006578, allocations: 47.36 kB / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.0066, allocations: 16.84 kB / 290.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006601, allocations: 4.031 kB / 290.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.122e-05/0.006642, allocations: 49.62 kB / 290.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.006651, allocations: 4 kB / 290.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006655, allocations: 3.984 kB / 290.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.00666, allocations: 0 / 290.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.006695, allocations: 15.94 kB / 290.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.006696, allocations: 256 / 290.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.006712, allocations: 4 kB / 290.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.006716, allocations: 8 kB / 290.8 MB, free: 3.242 MB / 282.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.424e-05/0.00676, allocations: 116.6 kB / 290.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.006776, allocations: 11.94 kB / 290.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.006872, allocations: 57.8 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.006874, allocations: 4 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-07/0.006875, allocations: 0 / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006877, allocations: 0 / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.007033, allocations: 210.7 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.007036, allocations: 7.922 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.00706, allocations: 8 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.007065, allocations: 4 kB / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007066, allocations: 0 / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.00707, allocations: 0 / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.00707, allocations: 4 kB / 291.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.007072, allocations: 3.984 kB / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.573e-05/0.007138, allocations: 151.4 kB / 291.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.007146, allocations: 0 / 291.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.007175, allocations: 4 kB / 291.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.007194, allocations: 7.984 kB / 291.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.007196, allocations: 0 / 291.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.007222, allocations: 31.66 kB / 291.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007222, allocations: 0 / 291.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.007354, allocations: 15.94 kB / 291.4 MB, free: 2.559 MB / 282.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.001122/0.008475, allocations: 0.6151 MB / 292 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.874e-05/0.008534, allocations: 32.78 kB / 292.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.008538, allocations: 0 / 292.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.008559, allocations: 24.78 kB / 292.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.008716, allocations: 87.28 kB / 292.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.009043, allocations: 170 kB / 292.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.009075, allocations: 59.34 kB / 292.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.009104, allocations: 7.984 kB / 292.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.009158, allocations: 63.36 kB / 292.5 MB, free: 1.742 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009159, allocations: 4 kB / 292.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of Templates: time 0.002617/0.01178, allocations: 1.543 MB / 294 MB, free: 224 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.651646925136447]