Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001044/0.001044, allocations: 75.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.001236/0.001236, allocations: 161.4 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.011/1.011, allocations: 177.2 MB / 205 MB, free: 5.273 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.284/0.284, allocations: 32.8 MB / 294.3 MB, free: 1.227 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.731e-05/3.943e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003282/0.003322, allocations: 1.708 MB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004968, allocations: 1.309 MB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.005045, allocations: 0 / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.005319, allocations: 23.84 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.005699, allocations: 95.48 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.006078, allocations: 175.5 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.006255, allocations: 79.72 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.006367, allocations: 11.98 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.006437, allocations: 43.89 kB / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.006552, allocations: 39.89 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.00657, allocations: 4 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.006716, allocations: 91.81 kB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.006782, allocations: 19.94 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.006821, allocations: 15.92 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.00706, allocations: 143.5 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.007064, allocations: 0 / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007065, allocations: 0 / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.007071, allocations: 0 / 379.8 MB, free: 0.8828 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004858/0.007557, allocations: 435.9 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.007599, allocations: 16.03 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.007665, allocations: 12.89 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.007837, allocations: 140.4 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.007848, allocations: 384 / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.007881, allocations: 8.375 kB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.008061, allocations: 108 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.008076, allocations: 8.172 kB / 380.5 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.008089, allocations: 8.062 kB / 380.5 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.008099, allocations: 0 / 380.5 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.904e-05/0.008148, allocations: 8 kB / 380.5 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.008615, allocations: 295.7 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.008712, allocations: 39.06 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.008744, allocations: 19.56 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.008771, allocations: 4.078 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.008798, allocations: 33.39 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.0088, allocations: 0 / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005068/0.009306, allocations: 129.4 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.009348, allocations: 77.19 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.009494, allocations: 211.7 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.009509, allocations: 25.7 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.009565, allocations: 142.9 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.009595, allocations: 31.73 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.009638, allocations: 23.38 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.00977, allocations: 0.4923 MB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.0098, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.009855, allocations: 57.06 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.009924, allocations: 39.8 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009925, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/0.01005, allocations: 73.66 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01006, allocations: 7.984 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01007, allocations: 4 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01009, allocations: 0 / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.01322, allocations: 12 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.01323, allocations: 3.984 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.01326, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.01327, allocations: 4 kB / 382.2 MB, free: 14.2 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 (7): * Single equations (assignments): 7 * 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 9.123e-05/0.01336, allocations: 164.5 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.0134, allocations: 11.95 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.0136, allocations: 86.42 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.0136, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.0136, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01361, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.01396, allocations: 345.3 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01396, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.01402, allocations: 16 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01403, allocations: 0 / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01404, allocations: 7.984 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01404, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01404, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.01422, allocations: 215.8 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01423, allocations: 15.83 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01425, allocations: 0 / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.01431, allocations: 7.984 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.01436, allocations: 11.98 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.01436, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.905e-05/0.01444, allocations: 149.5 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01444, allocations: 0 / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.01473, allocations: 43.86 kB / 383.3 MB, free: 13.06 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 (7): * Single equations (assignments): 7 * 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.001233/0.01597, allocations: 496.3 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.01913, allocations: 39.67 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01913, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.01918, allocations: 35.61 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01948, allocations: 29.98 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.01997, allocations: 198.2 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.02003, allocations: 67.34 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.508e-05/0.02011, allocations: 25 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.02015, allocations: 24.42 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02015, allocations: 4 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Templates: time 0.01087/0.03102, allocations: 1.997 MB / 386.2 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.474899814929813]