Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001175/0.001175, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001105/0.001105, allocations: 161 kB / 24.56 MB, free: 20 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.266 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.2984/0.2984, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.733e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002136/0.002153, allocations: 1.667 MB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.002952, allocations: 0.5297 MB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.002996, allocations: 4 kB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.003419, allocations: 455 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.003806, allocations: 291.2 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.004171, allocations: 123.6 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.004382, allocations: 167.6 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.004458, allocations: 4.188 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.004564, allocations: 119.8 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.00474, allocations: 243.6 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.004757, allocations: 4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.004818, allocations: 23.88 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.004908, allocations: 83.7 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.004945, allocations: 39.73 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.005136, allocations: 175.2 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005138, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005139, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.005145, allocations: 4 kB / 381.9 MB, free: 14.77 MB / 362.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.0004972/0.005642, allocations: 0.6931 MB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005675, allocations: 8.031 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.005733, allocations: 52.64 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.006101, allocations: 236.9 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.006109, allocations: 384 / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.006117, allocations: 384 / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.006221, allocations: 54.95 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.00623, allocations: 192 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006241, allocations: 7.938 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.006247, allocations: 0 / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.00627, allocations: 11.92 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.006631, allocations: 411.7 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.006682, allocations: 39 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.006705, allocations: 19.67 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.006721, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.006742, allocations: 33.39 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.006743, allocations: 3.984 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001572/0.006901, allocations: 85.36 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.006929, allocations: 51.41 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.007327, allocations: 0.6277 MB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.007339, allocations: 29.7 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.007478, allocations: 282.9 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.007496, allocations: 15.95 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.007519, allocations: 15.38 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.007673, allocations: 0.5508 MB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.007684, allocations: 4 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.007691, allocations: 0 / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.007721, allocations: 19.62 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007723, allocations: 4 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.445e-05/0.007787, allocations: 81.34 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.0078, allocations: 4 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007804, allocations: 8.094 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.007814, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.007865, allocations: 4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.007869, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.00789, allocations: 4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.007894, allocations: 0 / 385.3 MB, free: 11.23 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 (2): * Single equations (assignments): 2 * 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 6.687e-05/0.007961, allocations: 160.6 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.007993, allocations: 47.66 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.573e-05/0.008089, allocations: 76.69 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.008091, allocations: 4.031 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008093, allocations: 0 / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008096, allocations: 4 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.008296, allocations: 272.5 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008297, allocations: 0 / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.008316, allocations: 11.92 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008318, allocations: 0 / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.008323, allocations: 0 / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008324, allocations: 0 / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008325, allocations: 3.938 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.008433, allocations: 231.6 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.008458, allocations: 39.69 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.008472, allocations: 4 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.008505, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.008517, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.00852, allocations: 4 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005501/0.00907, allocations: 430.8 kB / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00907, allocations: 0 / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.009237, allocations: 15.94 kB / 386.5 MB, free: 9.879 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 (2): * Single equations (assignments): 2 * 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.0007291/0.009966, allocations: 331.3 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.01004, allocations: 23.67 kB / 386.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01004, allocations: 0 / 386.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.01005, allocations: 15.62 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01028, allocations: 30.5 kB / 386.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.01088, allocations: 0.5629 MB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.401e-05/0.01095, allocations: 111.3 kB / 387.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.01098, allocations: 7.984 kB / 387.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.011, allocations: 16.5 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01101, allocations: 0 / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003744/0.01475, allocations: 1.214 MB / 388.8 MB, free: 7.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.2570520183071494]