Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00157/0.00157, 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.001154/0.001154, allocations: 161.4 kB / 24.55 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 0.9796/0.9796, allocations: 177.1 MB / 205 MB, free: 5.621 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.2597/0.2597, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.955e-05, allocations: 6.25 kB / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002382/0.002402, allocations: 1.851 MB / 377.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.004188, allocations: 1.793 MB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.004261, allocations: 7.938 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.004526, allocations: 59.55 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.004861, allocations: 147.2 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.005026, allocations: 107.6 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.005223, allocations: 211.2 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.005263, allocations: 5.812 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.005377, allocations: 111.6 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.005496, allocations: 67.8 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.005517, allocations: 12 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.005653, allocations: 103.9 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.005708, allocations: 39.83 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.005756, allocations: 39.86 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.006026, allocations: 199.2 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.006027, allocations: 4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006028, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.006033, allocations: 3.938 kB / 380.8 MB, free: 15.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005196/0.006552, allocations: 0.511 MB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.006585, allocations: 12.03 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.00664, allocations: 20.8 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.006868, allocations: 192.2 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.006888, allocations: 4.375 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.006904, allocations: 8.359 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.00713, allocations: 165 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.007144, allocations: 3.938 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.007157, allocations: 3.984 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.007169, allocations: 7.984 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.007224, allocations: 19.92 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.007724, allocations: 172.3 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007891, allocations: 98.16 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.007936, allocations: 35.36 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.007952, allocations: 4 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.008078, allocations: 108.3 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.008079, allocations: 0 / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002392/0.008318, allocations: 149.4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.00837, allocations: 136.5 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.008553, allocations: 274.7 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.008569, allocations: 33.7 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.008629, allocations: 166.8 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.008661, allocations: 23.8 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.008698, allocations: 35.36 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.008825, allocations: 0.5001 MB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.008857, allocations: 15.98 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.008924, allocations: 125.5 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.009008, allocations: 87.2 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.00901, allocations: 0 / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001351/0.009145, allocations: 121.5 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.009156, allocations: 4 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.009162, allocations: 3.938 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.009177, allocations: 4 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.009256, allocations: 23.92 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.009262, allocations: 0 / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.009306, allocations: 12.06 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.009313, allocations: 8 kB / 383.9 MB, free: 12.45 MB / 362.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 7.757e-05/0.009391, allocations: 164.6 kB / 384 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.009417, allocations: 27.86 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.009591, allocations: 142.7 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.009592, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.009596, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.0096, allocations: 4 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.009714, allocations: 168.5 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.009715, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.009742, allocations: 12 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009744, allocations: 7.938 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.009754, allocations: 8.234 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.009759, allocations: 11.88 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.009761, allocations: 4 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.009911, allocations: 172 kB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.009934, allocations: 23.91 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.009954, allocations: 4 kB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.009989, allocations: 11.92 kB / 384.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01002, allocations: 15.97 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.01004, allocations: 8 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.01014, allocations: 201.8 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01014, allocations: 4 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.01032, allocations: 51.86 kB / 384.9 MB, free: 11.36 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: 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.0009737/0.0113, allocations: 0.4907 MB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01143, allocations: 71.59 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01143, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.01148, allocations: 39.61 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01171, allocations: 68.56 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.01208, allocations: 278.3 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.01212, allocations: 71.98 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.01217, allocations: 37.58 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.01222, allocations: 24.48 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01222, allocations: 0 / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.004943/0.01716, allocations: 3.441 MB / 389.4 MB, free: 7.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.1895845481194556]