Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.00141/0.00141, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001125/0.001125, allocations: 166 kB / 24.99 MB, free: 8.297 MB / 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.9973/0.9973, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2724/0.2724, allocations: 32.81 MB / 294.6 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.658e-05, allocations: 2.312 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002307/0.002333, allocations: 1.766 MB / 377.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003524, allocations: 1.005 MB / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.003612, allocations: 3.938 kB / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.003888, allocations: 51.69 kB / 378.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.004188, allocations: 107.5 kB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.004391, allocations: 75.67 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.004558, allocations: 111.5 kB / 379.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.004651, allocations: 12 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.004733, allocations: 51.89 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.004805, allocations: 31.84 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.004821, allocations: 4 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.004906, allocations: 47.86 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.00496, allocations: 27.91 kB / 379.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.005, allocations: 23.86 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.005184, allocations: 107.7 kB / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.005187, allocations: 0 / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005188, allocations: 0 / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.005192, allocations: 3.938 kB / 379.5 MB, free: 1.449 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.000526/0.005718, allocations: 479.6 kB / 380 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.00576, allocations: 8.031 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.005823, allocations: 20.84 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.006001, allocations: 169.2 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006019, allocations: 384 / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.006039, allocations: 4.375 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.006167, allocations: 66.94 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.006177, allocations: 3.938 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006187, allocations: 4 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.006195, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.006232, allocations: 11.98 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.006617, allocations: 295.8 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.006747, allocations: 59.16 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.006778, allocations: 15.62 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.006792, allocations: 4 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.0069, allocations: 69.05 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.006902, allocations: 3.938 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004151/0.007317, allocations: 161.4 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.007352, allocations: 67.28 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.007508, allocations: 274.7 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.007521, allocations: 25.7 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.007588, allocations: 166.9 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.007614, allocations: 19.8 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.007651, allocations: 35.36 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.007768, allocations: 0.5 MB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.007801, allocations: 23.98 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.007836, allocations: 27.73 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.0079, allocations: 59.25 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007901, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001161/0.008018, allocations: 93.58 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.008034, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008039, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008054, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.008132, allocations: 19.95 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.008138, allocations: 4 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.00817, allocations: 4 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.008177, allocations: 4 kB / 382.2 MB, free: 14.56 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.936e-05/0.008256, allocations: 167.7 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.008276, allocations: 23.91 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.008425, allocations: 115.1 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.008428, allocations: 4 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.008432, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008435, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.008726, allocations: 409 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008728, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.008759, allocations: 8 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008762, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008771, allocations: 4 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008773, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.008775, allocations: 3.938 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.008931, allocations: 263.4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.008946, allocations: 15.89 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.008966, allocations: 7.938 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.009007, allocations: 8.031 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.009043, allocations: 7.984 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.009056, allocations: 8 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.009158, allocations: 196.5 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009158, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.009342, allocations: 27.92 kB / 383.4 MB, free: 13.23 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.001049/0.01039, allocations: 436.5 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01054, allocations: 51.61 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01054, allocations: 4.062 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.01058, allocations: 35.61 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01085, allocations: 35.38 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.01127, allocations: 258.5 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.01132, allocations: 75.33 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.01136, allocations: 17.27 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.01139, allocations: 16.56 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01139, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.004102/0.01549, allocations: 1.892 MB / 386.2 MB, free: 10.56 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.333551740972325]