Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001052/0.001052, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001587/0.001587, 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 0.9837/0.9837, allocations: 177.1 MB / 205 MB, free: 5.289 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.2817/0.2817, allocations: 32.81 MB / 294.3 MB, free: 1.164 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.694e-05, allocations: 2.312 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002632/0.002659, allocations: 1.77 MB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003872, allocations: 1.005 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.003953, allocations: 0 / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.004263, allocations: 43.7 kB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.004591, allocations: 99.53 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.004795, allocations: 79.59 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.00496, allocations: 107.6 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.005053, allocations: 11.97 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.005136, allocations: 55.78 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.005205, allocations: 23.91 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.005222, allocations: 8 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.005305, allocations: 47.91 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.005357, allocations: 11.94 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.005397, allocations: 23.92 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005573, allocations: 103.6 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.005576, allocations: 3.938 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.005578, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005582, allocations: 0 / 379.5 MB, free: 1.148 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000446/0.006028, allocations: 451.8 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.006067, allocations: 8.031 kB / 379.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.006122, allocations: 24.84 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.006298, allocations: 149.1 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.006315, allocations: 384 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.006334, allocations: 4.375 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.006464, allocations: 66.94 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.006476, allocations: 3.938 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006487, allocations: 11.92 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006494, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.006526, allocations: 8 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.006841, allocations: 287.8 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.006966, allocations: 51.17 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.006998, allocations: 27.55 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.00701, allocations: 8 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.836e-05/0.007108, allocations: 68.98 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.007109, allocations: 0 / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003999/0.007509, allocations: 149.4 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.007542, allocations: 51.41 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.007674, allocations: 238.3 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.007688, allocations: 29.7 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.007741, allocations: 150.9 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.00777, allocations: 27.78 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.007803, allocations: 27.38 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007916, allocations: 0.5001 MB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.00794, allocations: 11.98 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.007975, allocations: 35.31 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.008031, allocations: 51.3 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008032, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.008142, allocations: 97.52 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008155, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.008161, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008175, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.008256, allocations: 20.02 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.008262, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.008293, allocations: 4.375 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.008299, allocations: 4 kB / 382 MB, free: 14.39 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 (10): * Single equations (assignments): 10 * 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.642e-05/0.008376, allocations: 164.5 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.008394, allocations: 15.94 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.008552, allocations: 107.3 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.008555, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.008559, allocations: 3.938 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.008564, allocations: 3.984 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.008855, allocations: 397 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008857, allocations: 7.938 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.008888, allocations: 8 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.008891, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.0089, allocations: 4 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008903, allocations: 3.984 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.008904, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.009058, allocations: 255.4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.009075, allocations: 19.83 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.009094, allocations: 4 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.009139, allocations: 8.031 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.009175, allocations: 7.984 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.009195, allocations: 4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.009281, allocations: 172.1 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009281, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.00947, allocations: 31.92 kB / 383.2 MB, free: 13.11 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: 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 (9): * Single equations (assignments): 7 * 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.0009501/0.01042, allocations: 428.6 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.01055, allocations: 55.59 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01055, allocations: 4.062 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.834e-05/0.01059, allocations: 31.61 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01082, allocations: 34.86 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.01118, allocations: 218.3 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.01122, allocations: 67.33 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.01125, allocations: 16.95 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.01128, allocations: 20.56 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01128, allocations: 0 / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003867/0.01515, allocations: 2.002 MB / 386.1 MB, free: 10.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.1232327660545707]