Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001094/0.001094, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002775, 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.00103/0.00103, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002555, 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.9653/0.9653, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.169/1.134, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.1518/0.1518, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0208/0.1726, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.39e-05, allocations: 14.25 kB / 285.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.001847/0.00186, allocations: 1.783 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.002784, allocations: 0.8805 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.002844, allocations: 7.938 kB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.003026, allocations: 47.69 kB / 288.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003162, allocations: 63.62 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.003382, allocations: 107.5 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.003529, allocations: 99.7 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.003599, allocations: 16.16 kB / 288.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003706, allocations: 75.77 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.003775, allocations: 27.91 kB / 289 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003792, allocations: 4 kB / 289.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.003865, allocations: 43.92 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.00391, allocations: 23.92 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.003939, allocations: 19.88 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.004124, allocations: 103.6 kB / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.004134, allocations: 0 / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004134, allocations: 0 / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.004142, allocations: 3.938 kB / 289.2 MB, free: 4.996 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.0004061/0.004548, allocations: 359.7 kB / 289.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.004577, allocations: 12.03 kB / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.004608, allocations: 8.922 kB / 289.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.004759, allocations: 157.2 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.004774, allocations: 4.375 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.004792, allocations: 4.375 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.004888, allocations: 69.69 kB / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.004896, allocations: 3.938 kB / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004902, allocations: 0 / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004907, allocations: 0 / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.004936, allocations: 20 kB / 289.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.005119, allocations: 158 kB / 290 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.005215, allocations: 93.28 kB / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005233, allocations: 12.86 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.005243, allocations: 0 / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.549e-05/0.005328, allocations: 70.14 kB / 290.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005329, allocations: 0 / 290.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002599/0.005589, allocations: 113.5 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.005614, allocations: 59.41 kB / 290.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.005722, allocations: 204.6 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.005736, allocations: 25.7 kB / 290.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.005766, allocations: 100.1 kB / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.005788, allocations: 27.78 kB / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.005815, allocations: 21.7 kB / 290.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.005882, allocations: 330.7 kB / 291.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.005903, allocations: 14.81 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.005923, allocations: 25.66 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.005962, allocations: 44.5 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005962, allocations: 0 / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.686e-05/0.006029, allocations: 76.44 kB / 291.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.00604, allocations: 8 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.006044, allocations: 0 / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.006053, allocations: 0 / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.006108, allocations: 16 kB / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006112, allocations: 3.984 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.006135, allocations: 8 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.00614, allocations: 0 / 291.2 MB, free: 2.805 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 5.929e-05/0.006199, allocations: 124.6 kB / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.006212, allocations: 15.92 kB / 291.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.872e-05/0.006301, allocations: 75.12 kB / 291.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006303, allocations: 3.984 kB / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.006304, allocations: 0 / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006306, allocations: 4 kB / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.006496, allocations: 295.8 kB / 291.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006497, allocations: 0 / 291.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.006522, allocations: 19.92 kB / 291.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.006534, allocations: 19.94 kB / 291.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006535, allocations: 0 / 291.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.006541, allocations: 4 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006542, allocations: 0 / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006544, allocations: 4 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.918e-05/0.006633, allocations: 219 kB / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.006648, allocations: 8 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.006683, allocations: 0 / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.006703, allocations: 7.984 kB / 292 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.006713, allocations: 4 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.006762, allocations: 67.64 kB / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006762, allocations: 4 kB / 292.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.006901, allocations: 23.92 kB / 292.1 MB, free: 1.855 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.001337/0.008238, allocations: 0.6397 MB / 292.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.952e-05/0.008318, allocations: 52.72 kB / 292.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.008323, allocations: 0 / 292.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.479e-05/0.008358, allocations: 37 kB / 292.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.00856, allocations: 180.2 kB / 293 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.008968, allocations: 259.7 kB / 293.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.009005, allocations: 71.33 kB / 293.4 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.009038, allocations: 24.66 kB / 293.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.009096, allocations: 71.3 kB / 293.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009096, allocations: 0 / 293.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of Templates: time 0.003163/0.01226, allocations: 2.033 MB / 295.5 MB, free: 14.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.8235170040279627]