Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0009462/0.0009462, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001771/0.001771, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.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.2373/0.2373, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.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.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.528e-05, allocations: 6.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002383/0.002408, allocations: 1.646 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003622, allocations: 1.274 MB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.00367, allocations: 0 / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.003889, allocations: 19.84 kB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.004169, allocations: 91.44 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.004369, allocations: 91.69 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.004493, allocations: 75.7 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.004573, allocations: 11.98 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.004625, allocations: 31.92 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.004717, allocations: 27.89 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004731, allocations: 4 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.004863, allocations: 87.88 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.004902, allocations: 15.94 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.004929, allocations: 11.98 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.005104, allocations: 135.5 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005106, allocations: 0 / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005107, allocations: 0 / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.00511, allocations: 4 kB / 379.6 MB, free: 1.105 MB / 346.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.0003577/0.005468, allocations: 428 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.005501, allocations: 8.031 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.005541, allocations: 8.891 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.005671, allocations: 136.1 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.005679, allocations: 4.375 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.005697, allocations: 4.312 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.005824, allocations: 104 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005833, allocations: 192 / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.005843, allocations: 4.125 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005849, allocations: 0 / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.005876, allocations: 15.98 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.006118, allocations: 279.8 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.006265, allocations: 46.98 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.006286, allocations: 15.69 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.006302, allocations: 3.938 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.00632, allocations: 33.39 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.006321, allocations: 4 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002903/0.006611, allocations: 101.5 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.006644, allocations: 81.11 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006755, allocations: 189.9 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006766, allocations: 33.7 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.006809, allocations: 138.9 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.006827, allocations: 23.8 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.006855, allocations: 23.38 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.006951, allocations: 0.4923 MB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.006965, allocations: 4 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.006996, allocations: 53 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.00703, allocations: 31.88 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.00703, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.465e-05/0.007095, allocations: 57.62 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.007105, allocations: 10.06 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.007108, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.007118, allocations: 0 / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.007155, allocations: 11.98 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.00716, allocations: 7.938 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.007179, allocations: 3.953 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.007187, allocations: 4 kB / 381.9 MB, free: 14.54 MB / 362.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 5.351e-05/0.00724, allocations: 156.6 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.00726, allocations: 12.17 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.007356, allocations: 66.14 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.007359, allocations: 7.984 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.007361, allocations: 3.938 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.007364, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.007564, allocations: 325.3 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007564, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.007601, allocations: 15.98 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007603, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.007611, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007612, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007613, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.559e-05/0.007708, allocations: 220 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.007716, allocations: 7.953 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.007728, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.00776, allocations: 3.984 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.007783, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.007786, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.758e-05/0.007844, allocations: 155.2 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007844, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.00802, allocations: 35.88 kB / 382.9 MB, free: 13.47 MB / 362.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.0009683/0.008989, allocations: 483.9 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.009073, allocations: 27.67 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.009075, allocations: 0 / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.009094, allocations: 23.75 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.009277, allocations: 24.05 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.009528, allocations: 173.9 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.009563, allocations: 59.34 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.009597, allocations: 15.97 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.009626, allocations: 16.48 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009627, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003301/0.01293, allocations: 2.007 MB / 385.7 MB, free: 10.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0368357221595943]