Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009156/0.0009156, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002149, 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.0006786/0.0006786, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009894/0.001668, 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 0.987/0.987, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1717/1.159, allocations: 52.49 MB / 238.5 MB, free: 7.594 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.1415/0.1415, allocations: 32.8 MB / 272 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02283/0.1644, allocations: 12.54 MB / 284.5 MB, free: 9.688 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 285.9 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.196e-05, allocations: 5.266 kB / 285.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002677/0.002699, allocations: 1.799 MB / 287.7 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004, allocations: 0.8765 MB / 288.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.004099, allocations: 0 / 288.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.004308, allocations: 39.77 kB / 288.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.004484, allocations: 59.59 kB / 288.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.004787, allocations: 119.5 kB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.004953, allocations: 91.72 kB / 288.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.005033, allocations: 12.16 kB / 288.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.005161, allocations: 75.77 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.005239, allocations: 27.91 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.005257, allocations: 4 kB / 289 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.005351, allocations: 39.92 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.005395, allocations: 15.94 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.005433, allocations: 15.94 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.005611, allocations: 103.6 kB / 289.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.005622, allocations: 0 / 289.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005623, allocations: 0 / 289.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.005632, allocations: 0 / 289.2 MB, free: 5.008 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.0004398/0.006072, allocations: 323.9 kB / 289.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.006105, allocations: 8.031 kB / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.006141, allocations: 4.938 kB / 289.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.006315, allocations: 160.5 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.00633, allocations: 384 / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.00635, allocations: 4.375 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006468, allocations: 65.77 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006479, allocations: 3.938 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.006485, allocations: 0 / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.006492, allocations: 3.984 kB / 289.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/0.006519, allocations: 11.98 kB / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.006735, allocations: 166 kB / 289.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.006832, allocations: 85.23 kB / 290 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.006856, allocations: 16.84 kB / 290 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.006866, allocations: 0 / 290 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.00697, allocations: 74.14 kB / 290.1 MB, free: 4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006971, allocations: 0 / 290.1 MB, free: 4 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003251/0.007296, allocations: 109.5 kB / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.007328, allocations: 51.41 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.007445, allocations: 168.3 kB / 290.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.007462, allocations: 25.7 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.0075, allocations: 100.1 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.007528, allocations: 19.8 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.00757, allocations: 29.69 kB / 290.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.007661, allocations: 322.8 kB / 290.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.007686, allocations: 14.77 kB / 290.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.007715, allocations: 29.64 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.007765, allocations: 36.52 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007767, allocations: 0 / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001005/0.007867, allocations: 80.44 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007881, allocations: 8 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007886, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.007897, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.007976, allocations: 19.98 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.00798, allocations: 4.031 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.008014, allocations: 0 / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.008022, allocations: 8 kB / 291.1 MB, free: 2.914 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 8.886e-05/0.00811, allocations: 120.6 kB / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.008127, allocations: 11.92 kB / 291.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.008262, allocations: 74.39 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008265, allocations: 4 kB / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008267, allocations: 0 / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.008272, allocations: 3.984 kB / 291.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.008541, allocations: 295.4 kB / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.008543, allocations: 0 / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.008588, allocations: 12.38 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.0086, allocations: 7.953 kB / 291.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008603, allocations: 0 / 291.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.008616, allocations: 11.98 kB / 291.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.008618, allocations: 0 / 291.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00862, allocations: 0 / 291.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.008758, allocations: 219 kB / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.008777, allocations: 4 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.008835, allocations: 32 / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.008865, allocations: 11.98 kB / 291.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.008883, allocations: 8 kB / 291.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.008937, allocations: 45.39 kB / 291.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008937, allocations: 0 / 291.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000214/0.009151, allocations: 23.94 kB / 292 MB, free: 2.012 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.001728/0.01088, allocations: 0.6458 MB / 292.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.011, allocations: 52.7 kB / 292.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.01101, allocations: 0 / 292.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.01106, allocations: 36.77 kB / 292.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01135, allocations: 184.2 kB / 292.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.01187, allocations: 223.6 kB / 293.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.836e-05/0.01192, allocations: 67.33 kB / 293.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.01196, allocations: 12.5 kB / 293.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.01203, allocations: 67.36 kB / 293.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01203, allocations: 0 / 293.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of Templates: time 0.004245/0.01628, allocations: 2.018 MB / 295.2 MB, free: 14.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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: 2.868209607899189]