Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002491, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002357, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.028/1.028, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1979/1.226, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.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.1428/0.1428, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02475/0.1675, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.978e-05, allocations: 9.266 kB / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003628/0.003658, allocations: 1.78 MB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005208, allocations: 0.8844 MB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.005304, allocations: 3.938 kB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.005595, allocations: 39.77 kB / 288.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.005815, allocations: 59.58 kB / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.006176, allocations: 119.5 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.006383, allocations: 91.7 kB / 288.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.006489, allocations: 16.16 kB / 288.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.006655, allocations: 75.77 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.006746, allocations: 19.92 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.006767, allocations: 4 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.006876, allocations: 43.92 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.006934, allocations: 23.92 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.006975, allocations: 15.94 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.007192, allocations: 99.53 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.007207, allocations: 0 / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.007209, allocations: 0 / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.007219, allocations: 0 / 289.2 MB, free: 5.02 MB / 282.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.0004951/0.007715, allocations: 331.9 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.007747, allocations: 8.031 kB / 289.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.007777, allocations: 4.938 kB / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.007934, allocations: 152.2 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.00795, allocations: 4.375 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.00797, allocations: 4.375 kB / 289.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.008083, allocations: 69.69 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.008092, allocations: 3.938 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.008099, allocations: 0 / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.008102, allocations: 0 / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.008126, allocations: 11.98 kB / 289.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.008345, allocations: 170 kB / 289.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.008443, allocations: 85.3 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.008465, allocations: 20.78 kB / 290.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.008477, allocations: 0 / 290.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.008579, allocations: 70.14 kB / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.00858, allocations: 0 / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003016/0.008882, allocations: 109.5 kB / 290.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.008912, allocations: 55.41 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.009014, allocations: 177 kB / 290.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.00903, allocations: 29.64 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.009063, allocations: 100.1 kB / 290.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.009087, allocations: 19.8 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.009118, allocations: 33.69 kB / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.009198, allocations: 326.8 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.009215, allocations: 10.83 kB / 291 MB, free: 3.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.009241, allocations: 25.64 kB / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.009289, allocations: 40.52 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.00929, allocations: 0 / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.731e-05/0.009367, allocations: 80.44 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.009379, allocations: 4 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.009383, allocations: 0 / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.009392, allocations: 4.031 kB / 291.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.009465, allocations: 19.98 kB / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.009468, allocations: 0 / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.009496, allocations: 4 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.0095, allocations: 0 / 291.1 MB, free: 2.906 MB / 282.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 6.871e-05/0.009569, allocations: 124.6 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.009584, allocations: 11.94 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.009687, allocations: 75.12 kB / 291.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009688, allocations: 0 / 291.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.009689, allocations: 0 / 291.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.009692, allocations: 4 kB / 291.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.009916, allocations: 295.4 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009917, allocations: 0 / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.009949, allocations: 19.92 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.009967, allocations: 11.91 kB / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00997, allocations: 384 / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.009976, allocations: 0 / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.009979, allocations: 4 kB / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.009982, allocations: 4 kB / 291.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.01009, allocations: 223 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.0101, allocations: 0 / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.01015, allocations: 4 kB / 291.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.01017, allocations: 7.984 kB / 291.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.01018, allocations: 4 kB / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.01023, allocations: 52.28 kB / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01023, allocations: 0 / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.01039, allocations: 23.94 kB / 292 MB, free: 1.992 MB / 282.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.001379/0.01177, allocations: 0.6425 MB / 292.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01188, allocations: 52.77 kB / 292.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.01188, allocations: 3.984 kB / 292.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.01192, allocations: 28.8 kB / 292.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01216, allocations: 188.3 kB / 292.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.01264, allocations: 227.1 kB / 293.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.01268, allocations: 67.34 kB / 293.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.01272, allocations: 12.48 kB / 293.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.01279, allocations: 71.36 kB / 293.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01279, allocations: 0 / 293.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of Templates: time 0.003784/0.01658, allocations: 2.024 MB / 295.3 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.086081831716001]