Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.00103/0.00103, 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.001006/0.001006, allocations: 161 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.9733/0.9733, allocations: 177.1 MB / 205 MB, free: 5.617 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.2683/0.2683, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.744e-05/3.923e-05, allocations: 9.484 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002631/0.002671, allocations: 1.719 MB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.004247, allocations: 1.001 MB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004354, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.004691, allocations: 67.67 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.005047, allocations: 107.5 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.005255, allocations: 71.67 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.005435, allocations: 107.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.005478, allocations: 8.219 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.005575, allocations: 63.77 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.005679, allocations: 43.88 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.005696, allocations: 8 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.005778, allocations: 31.92 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.005833, allocations: 23.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.005875, allocations: 15.94 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.006054, allocations: 87.66 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.006058, allocations: 0 / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006059, allocations: 0 / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006064, allocations: 0 / 381.5 MB, free: 15.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004678/0.006531, allocations: 439.9 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.006571, allocations: 12.02 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.006626, allocations: 16.78 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.007096, allocations: 157.1 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.007114, allocations: 4.375 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.007129, allocations: 384 / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.007261, allocations: 58.94 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.00727, allocations: 3.938 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.007279, allocations: 0 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.007287, allocations: 4 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.007319, allocations: 7.984 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.007473, allocations: 136.7 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.007588, allocations: 55.05 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.00762, allocations: 23.67 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.007635, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.00774, allocations: 65.05 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.007741, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001908/0.007932, allocations: 97.39 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.007961, allocations: 51.41 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.00809, allocations: 234.4 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.008101, allocations: 25.7 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.008152, allocations: 154.9 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.008184, allocations: 15.83 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.008214, allocations: 23.38 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.008339, allocations: 0.5001 MB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.008368, allocations: 4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.008402, allocations: 31.61 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.008453, allocations: 39.31 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008455, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000101/0.008556, allocations: 69.64 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.008572, allocations: 11.97 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.008579, allocations: 3.938 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.008597, allocations: 4 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.008677, allocations: 11.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008683, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.008712, allocations: 7.953 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.008717, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.478e-05/0.008802, allocations: 160.6 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.008818, allocations: 15.94 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.008961, allocations: 90.84 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008963, allocations: 4 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.008967, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008971, allocations: 4 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.009073, allocations: 144.6 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.009075, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.0091, allocations: 4 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.009102, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.00911, allocations: 4 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009113, allocations: 3.938 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009115, allocations: 3.984 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.009215, allocations: 116.5 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.009228, allocations: 11.95 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.009248, allocations: 11.92 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.009273, allocations: 11.88 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.009304, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.009318, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.009395, allocations: 168.1 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009395, allocations: 0 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.009549, allocations: 23.94 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000799/0.01035, allocations: 381.1 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.01046, allocations: 35.67 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01047, allocations: 3.938 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.0105, allocations: 23.67 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.0107, allocations: 28.67 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.01105, allocations: 198.1 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.01109, allocations: 67.33 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.01113, allocations: 12.48 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.01116, allocations: 20.48 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01116, allocations: 0 / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003384/0.01455, allocations: 1.643 MB / 386.9 MB, free: 9.617 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.3589811008423567]