Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.000962/0.000962, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0008916/0.0008916, allocations: 161 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.9412/0.9412, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2288/0.2288, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.984e-05, allocations: 9.406 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002001/0.002021, allocations: 1.658 MB / 377.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.002763, allocations: 0.5258 MB / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.002812, allocations: 0 / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.003266, allocations: 455 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.003631, allocations: 299.2 kB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.003862, allocations: 115.7 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.004046, allocations: 167.6 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.004129, allocations: 8.172 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.004225, allocations: 123.7 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.004398, allocations: 231.7 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.004415, allocations: 4 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.926e-05/0.004474, allocations: 23.94 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.004567, allocations: 95.56 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.0046, allocations: 31.75 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.004785, allocations: 187.2 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004787, allocations: 0 / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004787, allocations: 0 / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004792, allocations: 0 / 379.9 MB, free: 0.7188 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005047/0.005297, allocations: 0.6893 MB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.005331, allocations: 12.03 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.005383, allocations: 40.66 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005568, allocations: 244.8 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.005577, allocations: 384 / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.005585, allocations: 4.375 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005685, allocations: 54.95 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.005693, allocations: 192 / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005701, allocations: 3.938 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.005707, allocations: 0 / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.00573, allocations: 12 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.006078, allocations: 419.6 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.006126, allocations: 34.98 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.006144, allocations: 11.75 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.00616, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.00618, allocations: 41.39 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.00618, allocations: 0 / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001397/0.00632, allocations: 85.28 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.006347, allocations: 51.41 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.006734, allocations: 0.6317 MB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.006743, allocations: 29.7 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.006876, allocations: 282.8 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.006891, allocations: 3.953 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.006918, allocations: 23.36 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.007071, allocations: 0.547 MB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.007084, allocations: 4 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-06/0.007093, allocations: 4 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.007121, allocations: 15.67 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007123, allocations: 0 / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.041e-05/0.007193, allocations: 89.36 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007207, allocations: 8 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007212, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.007224, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.007292, allocations: 7.984 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.007298, allocations: 0 / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.00732, allocations: 3.984 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.007326, allocations: 0 / 383.2 MB, free: 13.18 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 8.03e-05/0.007406, allocations: 156.6 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.007436, allocations: 43.66 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.007546, allocations: 84.77 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007547, allocations: 3.938 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.007552, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.007557, allocations: 4 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.007763, allocations: 276.5 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007764, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.007786, allocations: 7.938 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007789, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007795, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.007799, allocations: 4 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007799, allocations: 4.031 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.00791, allocations: 223.7 kB / 384 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.007936, allocations: 39.66 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.007952, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.007985, allocations: 3.938 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.008004, allocations: 7.984 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.008006, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002531/0.008259, allocations: 426.7 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008259, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.008426, allocations: 23.92 kB / 384.5 MB, free: 11.83 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.0006456/0.009072, allocations: 329.7 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.009149, allocations: 15.67 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00915, allocations: 4 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.009161, allocations: 7.688 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.009392, allocations: 28.61 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.01002, allocations: 0.5614 MB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01009, allocations: 127.2 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.01012, allocations: 7.984 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.01014, allocations: 12.5 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01015, allocations: 0 / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003667/0.01381, allocations: 1.208 MB / 386.8 MB, free: 9.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.8956347638741136]