Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001254/0.001254, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.000935/0.000935, allocations: 162.1 kB / 24.99 MB, free: 8.293 MB / 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2576/0.2576, allocations: 32.81 MB / 294.6 MB, free: 1.273 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.999e-05, allocations: 12.78 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002856/0.002886, allocations: 1.65 MB / 377.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.003603, allocations: 0.5453 MB / 378.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.003663, allocations: 7.938 kB / 378.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.003903, allocations: 79.69 kB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.004171, allocations: 107.5 kB / 378.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004411, allocations: 107.7 kB / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.004565, allocations: 87.69 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004669, allocations: 11.98 kB / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.004737, allocations: 43.89 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004852, allocations: 63.86 kB / 378.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004867, allocations: 0 / 378.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.004959, allocations: 47.92 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.005018, allocations: 23.91 kB / 378.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.005053, allocations: 11.94 kB / 378.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.00524, allocations: 95.59 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.005246, allocations: 7.938 kB / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005248, allocations: 0 / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005252, allocations: 0 / 378.9 MB, free: 2.062 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.0004866/0.005739, allocations: 439.9 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.005787, allocations: 12.03 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.005847, allocations: 12.84 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.006036, allocations: 153.1 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.006047, allocations: 384 / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.006073, allocations: 8.375 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.006217, allocations: 54.89 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.00623, allocations: 4.188 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006241, allocations: 4.125 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.006251, allocations: 0 / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.726e-05/0.006289, allocations: 11.98 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.006661, allocations: 295.7 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.006732, allocations: 46.98 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.006759, allocations: 19.62 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.006778, allocations: 3.984 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.006801, allocations: 37.39 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.006802, allocations: 0 / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.007361, allocations: 169.4 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.00739, allocations: 63.33 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.00753, allocations: 238.3 kB / 380.4 MB, free: 360 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.007542, allocations: 25.7 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.007597, allocations: 154.9 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.007621, allocations: 31.73 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.007654, allocations: 23.38 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.007781, allocations: 0.504 MB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.007804, allocations: 4 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.007825, allocations: 15.98 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.007876, allocations: 31.91 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.007876, allocations: 0 / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.525e-05/0.007972, allocations: 81.59 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.007984, allocations: 4 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.00799, allocations: 7.984 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008003, allocations: 3.938 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.008074, allocations: 16 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.008079, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.008099, allocations: 7.984 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.008105, allocations: 4 kB / 381.3 MB, free: 15.4 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 (8): * Single equations (assignments): 8 * 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 7.214e-05/0.008177, allocations: 160.5 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.0082, allocations: 15.91 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.008339, allocations: 95.06 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008341, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008344, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008348, allocations: 3.984 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.008636, allocations: 377 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008639, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.008678, allocations: 15.98 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.008681, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.008687, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.00869, allocations: 8.031 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008691, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.008818, allocations: 239.4 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008829, allocations: 15.94 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.008842, allocations: 0 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.008877, allocations: 7.938 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.008914, allocations: 11.92 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.008918, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.00899, allocations: 171.2 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00899, allocations: 0 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.009164, allocations: 23.94 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009347/0.0101, allocations: 443.7 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01022, allocations: 47.59 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01022, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.01025, allocations: 35.61 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01047, allocations: 15.95 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.01084, allocations: 237.8 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01088, allocations: 75.39 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.01092, allocations: 21.02 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.01095, allocations: 16.5 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01095, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Templates: time 0.003498/0.01445, allocations: 1.408 MB / 384.7 MB, free: 12.03 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.1629251800477505]