Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0013/0.0013, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.0009379/0.0009379, allocations: 161 kB / 24.55 MB, free: 44 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.9789/0.9789, allocations: 177.1 MB / 205 MB, free: 5.648 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.2863/0.2863, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.651e-05, allocations: 6.25 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002329/0.002356, allocations: 1.723 MB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003827, allocations: 0.9897 MB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.003903, allocations: 0 / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.004218, allocations: 63.73 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.004552, allocations: 119.4 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.004748, allocations: 75.66 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.004916, allocations: 107.6 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.004954, allocations: 8.234 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.005049, allocations: 55.81 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.005145, allocations: 47.88 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.00516, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.005238, allocations: 31.94 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.005287, allocations: 23.86 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.005328, allocations: 19.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.005514, allocations: 87.67 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005518, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005519, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005523, allocations: 0 / 381.5 MB, free: 15.21 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.0004702/0.005993, allocations: 439.9 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.006032, allocations: 12.03 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.006085, allocations: 12.84 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.00628, allocations: 153.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.0063, allocations: 384 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.006311, allocations: 4.375 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.006437, allocations: 66.88 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.006447, allocations: 7.875 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.006457, allocations: 0 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.006464, allocations: 0 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.006496, allocations: 15.97 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.006652, allocations: 136.7 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.00676, allocations: 47.11 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.006787, allocations: 15.69 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.0068, allocations: 7.984 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.006903, allocations: 69 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.006904, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001925/0.007097, allocations: 85.52 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.007137, allocations: 55.41 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.007266, allocations: 234.4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.007277, allocations: 25.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.007331, allocations: 154.8 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.007363, allocations: 15.84 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.007396, allocations: 27.36 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.007526, allocations: 0.4962 MB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.007551, allocations: 12 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.007582, allocations: 27.38 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.007632, allocations: 39.61 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.007635, allocations: 0 / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.962e-05/0.007724, allocations: 73.58 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.007738, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.007744, allocations: 3.938 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.007763, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.007835, allocations: 12 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.007839, allocations: 4.031 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.007871, allocations: 7.938 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.007879, allocations: 8.156 kB / 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 7.909e-05/0.007958, allocations: 160.5 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.007972, allocations: 7.953 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.008114, allocations: 90.75 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008116, allocations: 0 / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.00812, allocations: 0 / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.008123, allocations: 0 / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.836e-05/0.008221, allocations: 152.5 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008223, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.008247, allocations: 12 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008249, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.008256, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.00826, allocations: 7.875 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008261, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.008362, allocations: 120.5 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.008377, allocations: 11.95 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.008392, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.483e-05/0.008417, allocations: 7.938 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.008447, allocations: 3.984 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.00846, allocations: 8 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.008535, allocations: 168.2 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008535, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.008685, allocations: 23.92 kB / 384.5 MB, free: 11.92 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.0008721/0.009557, allocations: 382.3 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.009673, allocations: 39.61 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009675, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.009709, allocations: 19.69 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.009908, allocations: 28.59 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.01026, allocations: 206 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.646e-05/0.01029, allocations: 63.34 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.01033, allocations: 20.53 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.01036, allocations: 16.5 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/0.01036, allocations: 0 / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Templates: time 0.003654/0.01402, allocations: 1.756 MB / 387 MB, free: 9.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.2850122419185936]