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.0009623/0.0009623, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001152/0.001152, allocations: 169.9 kB / 24.91 MB, free: 9.184 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 0.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2695/0.2695, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.292e-06/1.292e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.271e-05, allocations: 2.312 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002548/0.002571, allocations: 1.691 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.003306, allocations: 0.5335 MB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.003353, allocations: 0 / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.003789, allocations: 455 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.004159, allocations: 291.2 kB / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.004422, allocations: 127.5 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.004626, allocations: 159.7 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.004702, allocations: 8.172 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.00482, allocations: 123.7 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.00498, allocations: 195.6 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.004995, allocations: 4 kB / 328.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.005058, allocations: 23.94 kB / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.005141, allocations: 83.69 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.005172, allocations: 36.25 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.005376, allocations: 179.2 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005379, allocations: 4 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.005382, allocations: 3.984 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.005387, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.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.0004339/0.005821, allocations: 0.5463 MB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.005852, allocations: 11.97 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.005889, allocations: 20.92 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.006069, allocations: 238.2 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.006075, allocations: 384 / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.006081, allocations: 384 / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.006166, allocations: 58.94 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.006171, allocations: 4.188 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.00618, allocations: 3.938 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.006184, allocations: 0 / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.006198, allocations: 8 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.006399, allocations: 164.1 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.006435, allocations: 18.58 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.006448, allocations: 8.844 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.006464, allocations: 4.062 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.006484, allocations: 38.56 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.006485, allocations: 0 / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001063/0.006592, allocations: 61.61 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.006618, allocations: 51.41 kB / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.006939, allocations: 0.5283 MB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.006949, allocations: 25.7 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.007009, allocations: 141.3 kB / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.007024, allocations: 3.953 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.007049, allocations: 13.72 kB / 331.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.007145, allocations: 354.7 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.007153, allocations: 0 / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.007162, allocations: 4 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.007188, allocations: 20.97 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00719, allocations: 0 / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.153e-05/0.007251, allocations: 57.61 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.007263, allocations: 7.984 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.007269, allocations: 4 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.007278, allocations: 0 / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.007329, allocations: 4 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.007331, allocations: 0 / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.007354, allocations: 8 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007359, allocations: 32 / 331.6 MB, free: 1.188 MB / 298.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.438e-05/0.007423, allocations: 116.6 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.00745, allocations: 27.91 kB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.007538, allocations: 76.67 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00754, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-07/0.00754, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.007543, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.007671, allocations: 133.7 kB / 331.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.007675, allocations: 7.984 kB / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.007696, allocations: 0 / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007698, allocations: 8.031 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.007702, allocations: 0 / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.007704, allocations: 3.938 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007705, allocations: 0 / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.628e-05/0.007781, allocations: 151.5 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.007803, allocations: 39.75 kB / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.007815, allocations: 0 / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.007851, allocations: 3.938 kB / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.00786, allocations: 3.984 kB / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.007862, allocations: 4 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.008034, allocations: 279.3 kB / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008034, allocations: 4 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.008176, allocations: 23.89 kB / 332.4 MB, free: 272 kB / 298.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.001024/0.0092, allocations: 434.4 kB / 332.9 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.845e-05/0.009259, allocations: 12.84 kB / 332.9 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.009266, allocations: 4 kB / 332.9 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.009276, allocations: 12.8 kB / 332.9 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.009465, allocations: 30.52 kB / 332.9 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.01007, allocations: 0.5633 MB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.21e-05/0.01014, allocations: 115.3 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.01017, allocations: 11.97 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.01022, allocations: 55.38 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01022, allocations: 7.938 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.003444/0.01367, allocations: 1.219 MB / 334.9 MB, free: 13.99 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.7990677407942712]