Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001399/0.001399, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001596/0.001596, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.074/1.074, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1328/0.1328, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.926e-05, allocations: 9.344 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003464/0.003504, allocations: 1.718 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.00486, allocations: 0.792 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.00498, allocations: 4 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.005345, allocations: 35.77 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.005625, allocations: 59.69 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.005953, allocations: 91.64 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.006115, allocations: 95.69 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006224, allocations: 4.234 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.006319, allocations: 59.81 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.00639, allocations: 15.92 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.006407, allocations: 8 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.006507, allocations: 47.91 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.006555, allocations: 27.86 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.006602, allocations: 15.94 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.006782, allocations: 95.59 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006785, allocations: 0 / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006786, allocations: 0 / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.006791, allocations: 0 / 351.3 MB, free: 6.012 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.0004361/0.007227, allocations: 443.9 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.007267, allocations: 12.03 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.007303, allocations: 8.891 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.007416, allocations: 156.4 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.007432, allocations: 384 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.007449, allocations: 8.328 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.007553, allocations: 62.88 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.007563, allocations: 7.875 kB / 351.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.00757, allocations: 4 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.007576, allocations: 0 / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.007599, allocations: 7.984 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.007815, allocations: 256.4 kB / 352.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.007894, allocations: 63.09 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.007914, allocations: 15.67 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.007929, allocations: 4 kB / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.345e-05/0.008002, allocations: 64.98 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.008003, allocations: 0 / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003025/0.008306, allocations: 133.4 kB / 352.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.008327, allocations: 55.41 kB / 352.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.008413, allocations: 224 kB / 352.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.008424, allocations: 29.7 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.008465, allocations: 154.8 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.008492, allocations: 27.8 kB / 353 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.008523, allocations: 27.36 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.008588, allocations: 0.4923 MB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.008605, allocations: 11.98 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.008631, allocations: 39.28 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.008721, allocations: 39.38 kB / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.008722, allocations: 0 / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.008827, allocations: 97.52 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.00884, allocations: 8.031 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.008847, allocations: 80 / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.008861, allocations: 0 / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.008932, allocations: 16 kB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.008937, allocations: 3.984 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.008969, allocations: 7.984 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.008975, allocations: 4 kB / 353.7 MB, free: 3.352 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 7.471e-05/0.00905, allocations: 164.5 kB / 353.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.009067, allocations: 15.84 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.009202, allocations: 98.38 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.009206, allocations: 8 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009208, allocations: 0 / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.009212, allocations: 0 / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.009443, allocations: 361.5 kB / 354.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.009445, allocations: 0 / 354.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.009471, allocations: 15.98 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.009473, allocations: 384 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.009479, allocations: 0 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.009482, allocations: 8 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009483, allocations: 0 / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.009591, allocations: 259.4 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.009601, allocations: 7.953 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.009617, allocations: 0 / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.009656, allocations: 7.984 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.009687, allocations: 8 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.009701, allocations: 7.984 kB / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.009743, allocations: 152 kB / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009743, allocations: 0 / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.009913, allocations: 27.94 kB / 354.8 MB, free: 2.156 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.0008516/0.01076, allocations: 439.3 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.799e-05/0.01085, allocations: 51.58 kB / 355.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01086, allocations: 4 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.01089, allocations: 27.77 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01111, allocations: 35.97 kB / 355.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.01139, allocations: 213.4 kB / 355.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.751e-05/0.01141, allocations: 75.27 kB / 355.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.04e-05/0.01144, allocations: 16.61 kB / 355.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.0115, allocations: 90.19 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0115, allocations: 0 / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Templates: time 0.003733/0.01524, allocations: 2.013 MB / 357.8 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.150256111752242]