Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001898/0.001898, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002087/0.002087, allocations: 165.3 kB / 24.27 MB, free: 152 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3429/0.3429, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.205e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.004641/0.004673, allocations: 1.672 MB / 376.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.007859, allocations: 1.293 MB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.007928, allocations: 0 / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.008207, allocations: 31.72 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.008666, allocations: 91.53 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.009318, allocations: 171.5 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.009562, allocations: 87.69 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.009675, allocations: 11.98 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.009799, allocations: 39.91 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.009957, allocations: 31.91 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.009985, allocations: 4 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.01024, allocations: 91.88 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.01032, allocations: 19.91 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.01037, allocations: 23.92 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.01079, allocations: 155.5 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.0108, allocations: 3.984 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.0108, allocations: 0 / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.0108, allocations: 0 / 379 MB, free: 1.234 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008302/0.01164, allocations: 435.6 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.01168, allocations: 12.03 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.01176, allocations: 12.89 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.01206, allocations: 150.3 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.01207, allocations: 384 / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.0121, allocations: 8.375 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.01238, allocations: 99.31 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.0124, allocations: 192 / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.01242, allocations: 12.11 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01242, allocations: 4 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.0126, allocations: 31.91 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.01326, allocations: 291.8 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.01345, allocations: 47.05 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.01355, allocations: 23.62 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.01358, allocations: 8.125 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.01363, allocations: 37.39 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.01363, allocations: 3.938 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001034/0.01466, allocations: 173.3 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.01476, allocations: 81.11 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.01508, allocations: 211.9 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.01511, allocations: 25.7 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.01526, allocations: 142.9 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.01531, allocations: 31.75 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/0.0154, allocations: 31.36 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003883/0.01579, allocations: 0.5 MB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.01591, allocations: 19.98 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.0161, allocations: 69.06 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.01641, allocations: 63.66 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01641, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002997/0.01671, allocations: 105.8 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.01673, allocations: 8 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.01673, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01675, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.01687, allocations: 19.98 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01688, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.01693, allocations: 4 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01694, allocations: 4 kB / 381.6 MB, free: 14.37 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 (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 prepare postOptimizeDAE: time 0.0001468/0.01709, allocations: 164.5 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.01714, allocations: 15.95 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.01745, allocations: 102.4 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.01746, allocations: 4 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01746, allocations: 0 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.01747, allocations: 3.984 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.01807, allocations: 373.4 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01807, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.01816, allocations: 23.92 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01816, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01817, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01817, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01817, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.01853, allocations: 243.8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.01855, allocations: 7.953 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01857, allocations: 0 / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.01865, allocations: 4 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.0187, allocations: 15.98 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.0187, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01884, allocations: 159.1 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01884, allocations: 0 / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.01915, allocations: 51.8 kB / 382.8 MB, free: 13.14 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 (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.003371/0.02252, allocations: 0.5254 MB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.02282, allocations: 67.64 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.02282, allocations: 3.938 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.02295, allocations: 47.59 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.02328, allocations: 23.94 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.02383, allocations: 210.3 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.02395, allocations: 84.02 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.706e-05/0.02405, allocations: 36.98 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.0241, allocations: 20.5 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0241, allocations: 0 / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.00613/0.03023, allocations: 1.996 MB / 385.8 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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: 5.123790687066503]