Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.00104/0.00104, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001158/0.001158, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8459/0.8459, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.135/0.135, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.913e-05, allocations: 2.312 kB / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002424/0.002453, allocations: 1.826 MB / 349.6 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.003977, allocations: 1.587 MB / 351.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.004083, allocations: 3.938 kB / 351.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.004474, allocations: 55.69 kB / 351.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.004827, allocations: 99.41 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.005142, allocations: 139.6 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.005376, allocations: 195.3 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.005424, allocations: 5.812 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.005545, allocations: 95.69 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.005704, allocations: 63.78 kB / 351.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.005728, allocations: 8 kB / 351.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.005861, allocations: 59.92 kB / 351.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.005926, allocations: 35.83 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.005979, allocations: 35.86 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.006224, allocations: 147.4 kB / 352.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.006229, allocations: 0 / 352.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.00623, allocations: 4 kB / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.006236, allocations: 0 / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004833/0.00672, allocations: 491.5 kB / 352.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.006761, allocations: 12.03 kB / 352.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.006836, allocations: 20.84 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.007063, allocations: 180.2 kB / 352.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.007091, allocations: 4.375 kB / 352.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.007113, allocations: 8.375 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.00732, allocations: 161.1 kB / 352.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007331, allocations: 7.938 kB / 352.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.007345, allocations: 4 kB / 352.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.007354, allocations: 4 kB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.007401, allocations: 19.86 kB / 353 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.007567, allocations: 164.3 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.00772, allocations: 106.1 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.007771, allocations: 35.36 kB / 353.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.007792, allocations: 4 kB / 353.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.00795, allocations: 108.4 kB / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.475e-06/0.007953, allocations: 3.938 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002964/0.008249, allocations: 141.5 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.008291, allocations: 136.5 kB / 353.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.008452, allocations: 259.3 kB / 353.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.008468, allocations: 33.7 kB / 353.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.008509, allocations: 154.9 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.008546, allocations: 23.8 kB / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.008584, allocations: 39.36 kB / 354.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.00864, allocations: 0.5001 MB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.008673, allocations: 19.98 kB / 354.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.008734, allocations: 121.5 kB / 354.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.008808, allocations: 78.67 kB / 354.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.008811, allocations: 4 kB / 354.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000144/0.008955, allocations: 117.5 kB / 355 MB, free: 1.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.008974, allocations: 4 kB / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.008983, allocations: 12.03 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.009, allocations: 3.938 kB / 355 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.009092, allocations: 19.98 kB / 355 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.0091, allocations: 4 kB / 355 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.009149, allocations: 8 kB / 355 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.009158, allocations: 4 kB / 355 MB, free: 1.715 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.158e-05/0.00924, allocations: 172.5 kB / 355.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.009266, allocations: 15.91 kB / 355.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.00945, allocations: 142.7 kB / 355.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009452, allocations: 4.25 kB / 355.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.009457, allocations: 0 / 355.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.009463, allocations: 11.94 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.00956, allocations: 160.5 kB / 355.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009562, allocations: 4 kB / 355.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.009587, allocations: 11.98 kB / 355.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009589, allocations: 3.938 kB / 355.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-06/0.009599, allocations: 8 kB / 355.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009601, allocations: 3.938 kB / 355.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009602, allocations: 0 / 355.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.009741, allocations: 175.9 kB / 355.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.009761, allocations: 19.91 kB / 355.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.009783, allocations: 0 / 355.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.009813, allocations: 11.92 kB / 355.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.009857, allocations: 11.98 kB / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.009874, allocations: 4 kB / 355.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.764e-05/0.009951, allocations: 189.4 kB / 356 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009951, allocations: 0 / 356 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.01014, allocations: 39.94 kB / 356 MB, free: 0.6641 MB / 282.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008916/0.01104, allocations: 444.5 kB / 356.4 MB, free: 328 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01119, allocations: 71.72 kB / 356.5 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.0112, allocations: 0 / 356.5 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.01124, allocations: 47.73 kB / 356.6 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.01149, allocations: 59.77 kB / 356.6 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.01197, allocations: 265.6 kB / 356.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.01202, allocations: 68 kB / 356.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.01209, allocations: 41.5 kB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.01214, allocations: 28.48 kB / 357 MB, free: 15.69 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01214, allocations: 0 / 357 MB, free: 15.69 MB / 298.7 MB Notification: Performance of Templates: time 0.005285/0.01743, allocations: 2.947 MB / 360 MB, free: 12.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.120997662190348]