Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001852/0.001852, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002259/0.002259, allocations: 161.7 kB / 24.27 MB, free: 172 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.4181/0.4181, allocations: 32.8 MB / 293.9 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 179] 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.805e-05/4.059e-05, allocations: 5.266 kB / 375.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004633/0.004673, allocations: 1.68 MB / 377 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.00689, allocations: 0.9548 MB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.007015, allocations: 3.938 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.007439, allocations: 59.8 kB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.00799, allocations: 95.55 kB / 378.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.008332, allocations: 79.59 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.008607, allocations: 99.64 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.008671, allocations: 12.16 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.008835, allocations: 51.83 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.00895, allocations: 31.86 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.008971, allocations: 0 / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.009121, allocations: 39.97 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.009207, allocations: 19.92 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.009277, allocations: 23.88 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.009594, allocations: 119.6 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.009599, allocations: 0 / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.009601, allocations: 0 / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.009606, allocations: 0 / 378.6 MB, free: 1.594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008202/0.01043, allocations: 369.3 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.01048, allocations: 12.03 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.01057, allocations: 16.84 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.01098, allocations: 162.5 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.01099, allocations: 384 / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.011, allocations: 384 / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.01118, allocations: 50.23 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01119, allocations: 3.938 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.0112, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.0112, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.01129, allocations: 23.92 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.01153, allocations: 145.3 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.01172, allocations: 54.61 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.01179, allocations: 16.86 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.0118, allocations: 0 / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.012, allocations: 67.38 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.012, allocations: 0 / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003619/0.01236, allocations: 109.5 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.01241, allocations: 51.41 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.01275, allocations: 280.1 kB / 379.9 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.01278, allocations: 29.7 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.0129, allocations: 112.1 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.01294, allocations: 15.91 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.01298, allocations: 17.72 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.01318, allocations: 330.8 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.01325, allocations: 19.98 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.01331, allocations: 25.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01343, allocations: 49.64 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01344, allocations: 4 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002059/0.01364, allocations: 89.53 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01366, allocations: 4 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01367, allocations: 3.938 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01369, allocations: 320 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.0138, allocations: 19.98 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.0138, allocations: 3.938 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.01386, allocations: 8 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.01387, allocations: 0 / 380.6 MB, free: 15.35 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 0.0001553/0.01402, allocations: 141.8 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.01406, allocations: 15.91 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.01432, allocations: 106.7 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.01433, allocations: 4 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01434, allocations: 0 / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01434, allocations: 0 / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.01453, allocations: 145.2 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01453, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.01457, allocations: 4 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01457, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01458, allocations: 3.984 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.01459, allocations: 7.938 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01459, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.01485, allocations: 128.9 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.01488, allocations: 11.95 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.0149, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.01495, allocations: 7.938 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.01499, allocations: 3.984 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.01501, allocations: 4 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002432/0.01525, allocations: 208.6 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01525, allocations: 0 / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01548, allocations: 16 kB / 381.4 MB, free: 14.5 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.002022/0.0175, allocations: 442.2 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.0177, allocations: 47.91 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0177, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.01777, allocations: 16 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01808, allocations: 35.7 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.01868, allocations: 280.8 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.0188, allocations: 105.8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.01885, allocations: 16.47 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.01889, allocations: 16.5 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01889, allocations: 4 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Templates: time 0.005256/0.02415, allocations: 1.67 MB / 384.1 MB, free: 12.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.10567065095529]