Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001091/0.001091, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001037/0.001037, allocations: 165 kB / 24.56 MB, free: 4 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.9902/0.9902, allocations: 177.1 MB / 205 MB, free: 5.625 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.2674/0.2674, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 4 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.916e-05, allocations: 5.828 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00207/0.00209, allocations: 1.786 MB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003254, allocations: 1.013 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.003332, allocations: 4 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.003664, allocations: 99.61 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.003975, allocations: 131.4 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.004171, allocations: 87.59 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.004344, allocations: 127.6 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.004425, allocations: 11.98 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.004519, allocations: 71.81 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.004607, allocations: 63.86 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.004622, allocations: 4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.00473, allocations: 59.91 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.004777, allocations: 27.86 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.004814, allocations: 23.91 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004987, allocations: 127.5 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.00499, allocations: 3.984 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004991, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004995, allocations: 0 / 381.8 MB, free: 14.9 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.0004265/0.005422, allocations: 479.6 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.005456, allocations: 12.03 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.005505, allocations: 16.84 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.005668, allocations: 160.3 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.005687, allocations: 8.359 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.005709, allocations: 4.375 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.005826, allocations: 62.94 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005836, allocations: 3.938 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.005845, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.005853, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.00589, allocations: 23.98 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.006192, allocations: 311.6 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.006347, allocations: 58.98 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.006377, allocations: 23.8 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.006391, allocations: 0 / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.006492, allocations: 69.03 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.006493, allocations: 0 / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000518/0.007011, allocations: 217.2 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.00704, allocations: 59.41 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.007188, allocations: 269.5 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.007202, allocations: 29.7 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.007263, allocations: 166.8 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.007292, allocations: 39.72 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.007328, allocations: 31.36 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007442, allocations: 0.5079 MB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.007474, allocations: 23.98 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.007513, allocations: 39.36 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.678e-05/0.00758, allocations: 63.31 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007581, allocations: 0 / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001237/0.007704, allocations: 117.6 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007715, allocations: 7.938 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007721, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007734, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.007789, allocations: 23.98 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.007795, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.007824, allocations: 7.953 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.007831, allocations: 4 kB / 384.6 MB, free: 11.88 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 (13): * Single equations (assignments): 13 * 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.431e-05/0.007906, allocations: 172.5 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.007926, allocations: 23.89 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.008091, allocations: 123.1 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008094, allocations: 3.984 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008098, allocations: 0 / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.0081, allocations: 0 / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.008421, allocations: 448.6 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008423, allocations: 3.984 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.008454, allocations: 16 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008456, allocations: 4.062 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.008464, allocations: 7.938 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008466, allocations: 0 / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.008468, allocations: 3.938 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.008628, allocations: 291.1 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.008639, allocations: 11.91 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.008656, allocations: 4 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.008698, allocations: 4 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.008734, allocations: 15.92 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.008747, allocations: 7.984 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.008831, allocations: 192.4 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008831, allocations: 0 / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.009011, allocations: 31.94 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001012/0.01002, allocations: 498.2 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.01016, allocations: 67.59 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01016, allocations: 0 / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.0102, allocations: 43.61 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01044, allocations: 31.97 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.01079, allocations: 278.1 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.01084, allocations: 79.27 kB / 386.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.01087, allocations: 16.83 kB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.01091, allocations: 28.48 kB / 386.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01091, allocations: 0 / 386.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of Templates: time 0.003612/0.01452, allocations: 2.128 MB / 389 MB, free: 7.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.3942720098420978]