Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0008774/0.0008774, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009943/0.0009943, allocations: 165 kB / 24.56 MB, free: 12 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 0.9901/0.9901, allocations: 177.1 MB / 205 MB, free: 5.613 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.2636/0.2636, allocations: 34.26 MB / 295.7 MB, free: 0.7812 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.315e-05, allocations: 6.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002253/0.002286, allocations: 1.707 MB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.002868, allocations: 0.8025 MB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.002899, allocations: 0 / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.003095, allocations: 31.73 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.003271, allocations: 43.81 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.003274, allocations: 7.938 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003397, allocations: 31.84 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.764e-05/0.003424, allocations: 3.984 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.003504, allocations: 19.97 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.979e-05/0.003523, allocations: 11.94 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.003532, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.003572, allocations: 11.98 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.003607, allocations: 15.94 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.003624, allocations: 7.938 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003726, allocations: 51.77 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.003729, allocations: 8 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00373, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.003733, allocations: 0 / 380.8 MB, free: 15.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000291/0.004024, allocations: 392.3 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.004058, allocations: 11.97 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.004092, allocations: 12.88 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004213, allocations: 124.5 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.004221, allocations: 4.375 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.004229, allocations: 384 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.00436, allocations: 112.3 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004367, allocations: 192 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004377, allocations: 12.36 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.004423, allocations: 24.36 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.00446, allocations: 31.78 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.004956, allocations: 1.2 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.005033, allocations: 269.4 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.005062, allocations: 126.9 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.005087, allocations: 123.2 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.005125, allocations: 156.6 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.005126, allocations: 0 / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.39e-05/0.005179, allocations: 41.62 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.005229, allocations: 174.6 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.005361, allocations: 251 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.005369, allocations: 25.7 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.005442, allocations: 206.2 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.005444, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.005486, allocations: 51.31 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.005592, allocations: 0.4962 MB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.005609, allocations: 8 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.005697, allocations: 208.2 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.005825, allocations: 229.5 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.005828, allocations: 4 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001739/0.006002, allocations: 165.2 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.006015, allocations: 10.03 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.006021, allocations: 4 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.006036, allocations: 11.94 kB / 385.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.00612, allocations: 35.92 kB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.006127, allocations: 12.56 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.006179, allocations: 27.84 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.006188, allocations: 11.98 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 8.813e-05/0.006277, allocations: 291.6 kB / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.006322, allocations: 152.8 kB / 385.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.006367, allocations: 156.7 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/0.006424, allocations: 275.9 kB / 386.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.801e-05/0.006492, allocations: 268.2 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.006558, allocations: 272 kB / 386.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.006745, allocations: 0.5155 MB / 387.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/0.006782, allocations: 148.8 kB / 387.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.006814, allocations: 148.9 kB / 387.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.727e-05/0.006871, allocations: 268.1 kB / 387.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.006935, allocations: 268 kB / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-05/0.007, allocations: 264.1 kB / 388.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.491e-05/0.007065, allocations: 279.9 kB / 388.5 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007191, allocations: 452 kB / 389 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.007231, allocations: 152.8 kB / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.0073, allocations: 272.1 kB / 389.4 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.007357, allocations: 148.8 kB / 389.5 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.007417, allocations: 276 kB / 389.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.007448, allocations: 144.9 kB / 390 MB, free: 6.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.007511, allocations: 163.3 kB / 390.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007511, allocations: 0 / 390.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.007694, allocations: 19.94 kB / 390.1 MB, free: 5.91 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 (0): * Single equations (assignments): 0 * 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.000423/0.008117, allocations: 305.4 kB / 390.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.008218, allocations: 68.48 kB / 390.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008219, allocations: 0 / 390.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.008221, allocations: 4.188 kB / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.008492, allocations: 0.7179 MB / 391.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.008737, allocations: 277.3 kB / 391.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.008774, allocations: 67.83 kB / 391.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.008847, allocations: 45.08 kB / 391.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.008867, allocations: 16.5 kB / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008867, allocations: 0 / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of Templates: time 0.00262/0.01149, allocations: 0.7716 MB / 392.4 MB, free: 3.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.1484745531342924]