Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008079/0.0008079, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009612/0.0009612, allocations: 165 kB / 24.56 MB, free: 16 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.027/1.027, allocations: 177.2 MB / 205 MB, free: 5.309 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.274/0.274, allocations: 34.26 MB / 295.7 MB, free: 0.6484 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.742e-05, allocations: 6.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002254/0.002281, allocations: 1.704 MB / 379.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.003083, allocations: 0.5802 MB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.00314, allocations: 4 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.00339, allocations: 51.62 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.003676, allocations: 95.53 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.003998, allocations: 175.5 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.004163, allocations: 87.75 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.004262, allocations: 16.22 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.004327, allocations: 43.89 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.004412, allocations: 43.88 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004427, allocations: 4 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.00451, allocations: 51.86 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.004567, allocations: 19.92 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.004597, allocations: 19.92 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.004768, allocations: 95.66 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00477, allocations: 4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004771, allocations: 0 / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004775, allocations: 0 / 381.1 MB, free: 15.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003872/0.005163, allocations: 447.8 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.005195, allocations: 8.031 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.00524, allocations: 20.84 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.005366, allocations: 143.5 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.005376, allocations: 4.375 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005394, allocations: 384 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005512, allocations: 78.86 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00552, allocations: 4.188 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.00553, allocations: 4.125 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005537, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.005588, allocations: 15.98 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.005922, allocations: 303.7 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.006099, allocations: 55.02 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.006126, allocations: 15.67 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.006147, allocations: 0 / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.00617, allocations: 41.52 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006171, allocations: 4 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006403/0.006811, allocations: 245.5 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.00685, allocations: 55.41 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.006975, allocations: 213.8 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.006987, allocations: 29.7 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.007045, allocations: 150.9 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.00708, allocations: 43.59 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.007119, allocations: 35.36 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.007251, allocations: 0.4961 MB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.007282, allocations: 15.98 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.007308, allocations: 12 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.007372, allocations: 51.67 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007373, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001066/0.00748, allocations: 93.78 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.007493, allocations: 10.03 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.0075, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007513, allocations: 4 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.007572, allocations: 23.98 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007576, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.007603, allocations: 11.98 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.00761, allocations: 4 kB / 383.7 MB, free: 12.82 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 6.491e-05/0.007675, allocations: 164.5 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.007698, allocations: 15.91 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.007845, allocations: 110.4 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007847, allocations: 4 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.00785, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.007852, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.00816, allocations: 412.6 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008161, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.008209, allocations: 23.98 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008211, allocations: 192 / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.008221, allocations: 8 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008224, allocations: 11.92 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.008226, allocations: 3.938 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.00837, allocations: 255.2 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.00838, allocations: 15.94 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008393, allocations: 4 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.008434, allocations: 11.94 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.008474, allocations: 7.984 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.00848, allocations: 4 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.008546, allocations: 158 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008546, allocations: 0 / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.008719, allocations: 31.92 kB / 384.9 MB, free: 11.5 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.0008943/0.009613, allocations: 429.5 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.009731, allocations: 55.61 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009733, allocations: 0 / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.009775, allocations: 43.59 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.009982, allocations: 32.72 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.01033, allocations: 264.5 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.01038, allocations: 71.33 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.01043, allocations: 32.58 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.01047, allocations: 24.44 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01047, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003211/0.01368, allocations: 1.77 MB / 387.6 MB, free: 8.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.259012562222779]