Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001005/0.001005, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001046/0.001046, allocations: 165 kB / 24.56 MB, free: 8 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 1.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.613 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.3208/0.3208, allocations: 34.25 MB / 295.7 MB, free: 0.7578 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.263e-05, allocations: 2.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002479/0.002502, allocations: 1.754 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.003794, allocations: 1.017 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.003903, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.004288, allocations: 47.64 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.004658, allocations: 91.55 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.004869, allocations: 75.66 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.005052, allocations: 115.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.005161, allocations: 7.984 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.005253, allocations: 51.91 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.005343, allocations: 31.83 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.005363, allocations: 7.938 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.00546, allocations: 47.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.005515, allocations: 15.94 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.005556, allocations: 23.91 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.005789, allocations: 99.66 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.005791, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005793, allocations: 3.938 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005798, allocations: 0 / 381.5 MB, free: 15.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004768/0.006275, allocations: 447.9 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.006311, allocations: 12.03 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.006368, allocations: 20.78 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006552, allocations: 153.1 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.006578, allocations: 384 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.006603, allocations: 8.375 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.006726, allocations: 58.94 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.006737, allocations: 7.938 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.006748, allocations: 3.984 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.006756, allocations: 3.984 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.006789, allocations: 8 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.007101, allocations: 291.7 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.00722, allocations: 51.17 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.007259, allocations: 23.61 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.007272, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.804e-05/0.00737, allocations: 68.98 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.007371, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003882/0.007759, allocations: 153.4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.00779, allocations: 51.41 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.008212, allocations: 242.3 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.008225, allocations: 29.7 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.00828, allocations: 150.9 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.008306, allocations: 23.8 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.00834, allocations: 35.3 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.008444, allocations: 0.4962 MB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.008469, allocations: 11.98 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.008507, allocations: 31.38 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.81e-05/0.008566, allocations: 59.22 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008567, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.008669, allocations: 93.66 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008681, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008685, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.008698, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.00877, allocations: 19.92 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.008776, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.008804, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.00881, allocations: 0 / 384 MB, free: 12.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.27e-05/0.008883, allocations: 164.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.008899, allocations: 23.97 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.00907, allocations: 99.08 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009073, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.009076, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.009082, allocations: 3.984 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.009357, allocations: 396.9 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.009359, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.009384, allocations: 8 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.009386, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.009393, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.009397, allocations: 11.97 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009399, allocations: 3.984 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.009537, allocations: 255.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.009549, allocations: 15.91 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.009564, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.009603, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.009635, allocations: 8.359 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.009648, allocations: 8 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.009717, allocations: 168.1 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009717, allocations: 0 / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.009889, allocations: 35.92 kB / 385.2 MB, free: 11.12 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.0008565/0.01075, allocations: 438.4 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01086, allocations: 59.58 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01087, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.0109, allocations: 35.61 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01113, allocations: 26.98 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.01148, allocations: 226.1 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.01152, allocations: 67.33 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.506e-05/0.01155, allocations: 16.95 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.01158, allocations: 16.5 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01158, allocations: 0 / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003553/0.01514, allocations: 2.011 MB / 388.1 MB, free: 8.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.093656898010522]