Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001895/0.001895, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002107/0.002107, allocations: 161.3 kB / 24.27 MB, free: 152 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.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.4015/0.4015, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.998e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00379/0.00382, allocations: 1.691 MB / 377 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.005197, allocations: 0.5647 MB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.005281, allocations: 4 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.005613, allocations: 47.73 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.005993, allocations: 91.55 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.006532, allocations: 179.5 kB / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.006742, allocations: 87.7 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.006873, allocations: 20.2 kB / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.006988, allocations: 39.91 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.00711, allocations: 43.88 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.007135, allocations: 4 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.007262, allocations: 47.92 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.00735, allocations: 23.91 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.007395, allocations: 19.94 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.007657, allocations: 115.5 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.007664, allocations: 7.984 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.007667, allocations: 0 / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.007674, allocations: 0 / 378.3 MB, free: 1.977 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006976/0.008372, allocations: 435.7 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.008417, allocations: 12.03 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.008484, allocations: 12.84 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.008733, allocations: 154.8 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.008747, allocations: 4.375 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.008771, allocations: 4.375 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.008948, allocations: 62.23 kB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.008962, allocations: 192 / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.008976, allocations: 4.125 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.008981, allocations: 0 / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.009112, allocations: 35.91 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.009664, allocations: 311.7 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.00994, allocations: 66.97 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.01001, allocations: 23.84 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.01004, allocations: 4 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.01007, allocations: 37.39 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.01007, allocations: 0 / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001241/0.01131, allocations: 293.5 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.01138, allocations: 55.41 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.01164, allocations: 225.8 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.01166, allocations: 33.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.0118, allocations: 146.9 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.01187, allocations: 47.67 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.01194, allocations: 35.31 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003123/0.01225, allocations: 0.504 MB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01236, allocations: 27.98 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/0.01246, allocations: 31.97 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.01269, allocations: 83.72 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01269, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003201/0.01301, allocations: 117.9 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.01303, allocations: 8 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.01304, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-05/0.01311, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.01324, allocations: 23.92 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.01325, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.01331, allocations: 11.98 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01332, allocations: 0 / 381 MB, free: 15 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 (11): * Single equations (assignments): 11 * 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 0.0004688/0.01379, allocations: 168.5 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.01386, allocations: 15.91 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.01432, allocations: 146.3 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.01433, allocations: 4 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.01434, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01434, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.01522, allocations: 456.6 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.01522, allocations: 3.938 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.01532, allocations: 23.98 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.01533, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.01535, allocations: 4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.01535, allocations: 3.938 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01535, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.01581, allocations: 303.1 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.01583, allocations: 7.953 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.01585, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.01594, allocations: 7.938 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.016, allocations: 7.984 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01601, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.01616, allocations: 170.2 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01616, allocations: 0 / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.01643, allocations: 23.98 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003472/0.0199, allocations: 0.5003 MB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.02025, allocations: 87.58 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02025, allocations: 4 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.02041, allocations: 59.59 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.02078, allocations: 19.98 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.02153, allocations: 285.9 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02165, allocations: 96.8 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.804e-05/0.02174, allocations: 32.58 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.02179, allocations: 16.5 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0218, allocations: 4 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Templates: time 0.005816/0.02761, allocations: 1.646 MB / 385.1 MB, free: 11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.170718469074927]