Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001005/0.001005, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001162/0.001162, allocations: 168.6 kB / 25 MB, free: 8.863 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 1.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2744/0.2744, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.194e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002596/0.002628, allocations: 1.642 MB / 377.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004171, allocations: 1.27 MB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.004266, allocations: 4 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.004545, allocations: 23.84 kB / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.004902, allocations: 87.5 kB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.005183, allocations: 91.62 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.005378, allocations: 71.81 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.005512, allocations: 4 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.00558, allocations: 43.84 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005697, allocations: 19.97 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.005715, allocations: 7.938 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.0059, allocations: 91.81 kB / 379.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.005949, allocations: 11.94 kB / 379.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.005995, allocations: 15.98 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.006277, allocations: 131.5 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.006282, allocations: 0 / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.006284, allocations: 0 / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.006291, allocations: 0 / 379.5 MB, free: 1.457 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.0004801/0.006771, allocations: 435.9 kB / 379.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.006812, allocations: 8.031 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.006869, allocations: 12.88 kB / 380 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.007042, allocations: 131.8 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.007052, allocations: 384 / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.007079, allocations: 8.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.007241, allocations: 100 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.007252, allocations: 4.188 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.007264, allocations: 8.062 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007271, allocations: 3.938 kB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.007306, allocations: 7.984 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.007622, allocations: 283.8 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.007791, allocations: 43.05 kB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.007818, allocations: 19.62 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.007837, allocations: 7.938 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.00786, allocations: 37.47 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.007862, allocations: 0 / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004223/0.008284, allocations: 101.4 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.008333, allocations: 77.11 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.008486, allocations: 195.6 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.008497, allocations: 29.7 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.008559, allocations: 142.9 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.008582, allocations: 19.8 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.008619, allocations: 23.36 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.008747, allocations: 0.4884 MB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.008771, allocations: 8.062 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.008817, allocations: 57.06 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.008858, allocations: 19.69 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.00886, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.845e-05/0.008948, allocations: 65.56 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.008962, allocations: 4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008966, allocations: 8.031 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.008981, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.009034, allocations: 11.98 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.009041, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.009065, allocations: 7.953 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00907, allocations: 0 / 381.8 MB, free: 14.89 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 7.72e-05/0.009147, allocations: 160.6 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.009169, allocations: 11.89 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.009293, allocations: 66.08 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.009295, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.009298, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.009302, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.00955, allocations: 321.3 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009551, allocations: 320 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.009589, allocations: 19.92 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.009592, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.009598, allocations: 4 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0096, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009601, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.009715, allocations: 207.8 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.009726, allocations: 15.95 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.009741, allocations: 3.984 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.009777, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.009807, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.009812, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.746e-05/0.009879, allocations: 149.3 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009879, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01013, allocations: 43.86 kB / 382.8 MB, free: 13.81 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.001293/0.01142, allocations: 492.6 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01155, allocations: 35.61 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01155, allocations: 0 / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.01158, allocations: 19.67 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.0119, allocations: 31.86 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.01232, allocations: 161.9 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.01237, allocations: 59.34 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.01243, allocations: 11.98 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.01248, allocations: 24.48 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01248, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.01135/0.02383, allocations: 1.822 MB / 385.5 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.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.474745810031891]