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.00116/0.00116, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001103/0.001103, allocations: 171.6 kB / 24.82 MB, free: 9.262 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3072/0.3072, allocations: 34.26 MB / 296.1 MB, free: 0.6367 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 2.104e-06/2.104e-06, allocations: 0 / 378.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.875e-05, allocations: 2.312 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003236/0.003265, allocations: 1.641 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.004079, allocations: 0.5259 MB / 380.7 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.004131, allocations: 0 / 380.7 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.00458, allocations: 455 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.00493, allocations: 295.2 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.00514, allocations: 119.6 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.00531, allocations: 175.6 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.005389, allocations: 4.188 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.005502, allocations: 119.8 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.005671, allocations: 239.6 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.005685, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.005742, allocations: 23.94 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.005821, allocations: 75.72 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.005852, allocations: 47.72 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.006027, allocations: 179.2 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.00603, allocations: 4 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006031, allocations: 0 / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006036, allocations: 0 / 382.4 MB, free: 14.44 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.0004724/0.006508, allocations: 0.6892 MB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.006544, allocations: 8.031 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.006588, allocations: 44.66 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.006752, allocations: 244.9 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.00676, allocations: 4.312 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.006769, allocations: 8.375 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.006861, allocations: 58.89 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.006867, allocations: 192 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.006873, allocations: 3.938 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.006877, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.006893, allocations: 7.984 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.007157, allocations: 328.3 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.0072, allocations: 31 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.007213, allocations: 7.688 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.007235, allocations: 11.98 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.007255, allocations: 37.39 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.007256, allocations: 0 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001228/0.007378, allocations: 81.41 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.007402, allocations: 55.41 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.007746, allocations: 0.5962 MB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.007756, allocations: 25.7 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.007897, allocations: 306.6 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.007913, allocations: 7.938 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.007939, allocations: 19.38 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.008092, allocations: 0.5508 MB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.008104, allocations: 4.109 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.008113, allocations: 8 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.008138, allocations: 11.69 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008139, allocations: 0 / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.947e-05/0.008219, allocations: 81.36 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008231, allocations: 4 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.008235, allocations: 0 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.008244, allocations: 3.984 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.008297, allocations: 7.938 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.0083, allocations: 8.078 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.008322, allocations: 4 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.008326, allocations: 0 / 385.6 MB, free: 11.01 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 7.964e-05/0.008405, allocations: 160.6 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.008439, allocations: 43.66 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.008551, allocations: 76.73 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008552, allocations: 3.938 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.008554, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.008556, allocations: 4 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.008715, allocations: 193.1 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.008717, allocations: 8.031 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.008744, allocations: 4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008746, allocations: 0 / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.008752, allocations: 3.938 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008754, allocations: 3.938 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008756, allocations: 0 / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.008864, allocations: 227.7 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.00889, allocations: 31.72 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.008903, allocations: 7.938 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.008941, allocations: 0 / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.008951, allocations: 8.016 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.008953, allocations: 0 / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.009148, allocations: 394.7 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009148, allocations: 0 / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.0093, allocations: 23.92 kB / 386.8 MB, free: 9.777 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.0007046/0.01, allocations: 329.7 kB / 387.1 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.636e-05/0.01006, allocations: 19.61 kB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01006, allocations: 4.062 kB / 387.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.01007, allocations: 11.69 kB / 387.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.0103, allocations: 32.83 kB / 387.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.01085, allocations: 0.555 MB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.942e-05/0.01092, allocations: 115.3 kB / 387.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.01094, allocations: 7.984 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.01099, allocations: 74.2 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01099, allocations: 0 / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of Templates: time 0.003452/0.01445, allocations: 1.233 MB / 389.2 MB, free: 7.469 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.2496875869110227]