Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001594/0.001594, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002728/0.004322, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.00123/0.00123, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002491, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9755/0.9755, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1966/1.172, allocations: 49.51 MB / 220.5 MB, free: 5.27 MB / 218.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.1368/0.1368, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02061/0.1574, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.534e-05, allocations: 2.312 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002715/0.002741, allocations: 1.735 MB / 269 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003903, allocations: 0.792 MB / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.00397, allocations: 0 / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.004207, allocations: 75.64 kB / 269.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.004399, allocations: 67.62 kB / 270 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.004643, allocations: 83.7 kB / 270 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.004804, allocations: 99.69 kB / 270.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.004844, allocations: 4 kB / 270.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.004984, allocations: 79.75 kB / 270.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.005077, allocations: 35.91 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.005097, allocations: 4 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.005172, allocations: 35.92 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.005219, allocations: 15.92 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.005256, allocations: 11.94 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.005417, allocations: 79.69 kB / 270.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.005431, allocations: 4 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005433, allocations: 0 / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.005447, allocations: 0 / 270.4 MB, free: 3.312 MB / 266.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.0004254/0.005872, allocations: 323.9 kB / 270.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.005904, allocations: 8.031 kB / 270.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.005933, allocations: 4.938 kB / 270.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.0061, allocations: 149.5 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.006115, allocations: 4.375 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.006123, allocations: 384 / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.006246, allocations: 57.77 kB / 270.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.006254, allocations: 7.938 kB / 270.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.006261, allocations: 0 / 270.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.006267, allocations: 4 kB / 270.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.006295, allocations: 7.938 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.753e-05/0.006392, allocations: 74.62 kB / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.757e-05/0.00648, allocations: 37.42 kB / 271.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.006502, allocations: 12.86 kB / 271.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.006513, allocations: 3.984 kB / 271.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.006616, allocations: 62.22 kB / 271.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.006617, allocations: 4 kB / 271.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001257/0.006742, allocations: 57.61 kB / 271.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.006782, allocations: 55.34 kB / 271.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.006898, allocations: 164.3 kB / 271.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006914, allocations: 33.7 kB / 271.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.006947, allocations: 92.11 kB / 271.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.006975, allocations: 11.89 kB / 271.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.007016, allocations: 25.72 kB / 271.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.007112, allocations: 322.8 kB / 271.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.007132, allocations: 6.828 kB / 271.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.007158, allocations: 29.94 kB / 271.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.007207, allocations: 39.3 kB / 272 MB, free: 1.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007209, allocations: 0 / 272 MB, free: 1.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.515e-05/0.007294, allocations: 60.45 kB / 272 MB, free: 1.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.007308, allocations: 8 kB / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007313, allocations: 0 / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.007323, allocations: 3.984 kB / 272 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.00739, allocations: 11.94 kB / 272 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.007393, allocations: 4 kB / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.00743, allocations: 7.984 kB / 272.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007436, allocations: 4 kB / 272.1 MB, free: 1.465 MB / 266.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 7.132e-05/0.007507, allocations: 120.7 kB / 272.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.007522, allocations: 4 kB / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.007627, allocations: 70 kB / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007629, allocations: 0 / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.007633, allocations: 3.938 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007636, allocations: 0 / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.106e-05/0.007727, allocations: 85.81 kB / 272.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007729, allocations: 0 / 272.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.007758, allocations: 11.98 kB / 272.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.007772, allocations: 7.953 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007774, allocations: 0 / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.007781, allocations: 4 kB / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007782, allocations: 0 / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.007785, allocations: 3.938 kB / 272.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.00788, allocations: 90.83 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.007896, allocations: 0 / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.007931, allocations: 4 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.007958, allocations: 7.984 kB / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.007968, allocations: 0 / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.495e-05/0.008023, allocations: 60.39 kB / 272.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008023, allocations: 0 / 272.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.008191, allocations: 16 kB / 272.5 MB, free: 0.9297 MB / 266.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.001515/0.009706, allocations: 0.5544 MB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.009798, allocations: 32.78 kB / 273.1 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.009806, allocations: 0 / 273.1 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.009835, allocations: 20.86 kB / 273.1 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.009995, allocations: 32.03 kB / 273.2 MB, free: 280 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.01051, allocations: 197.4 kB / 273.4 MB, free: 56 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.01056, allocations: 63.34 kB / 273.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.0106, allocations: 12.47 kB / 273.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.01067, allocations: 67.36 kB / 273.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01067, allocations: 3.938 kB / 273.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of Templates: time 0.004223/0.0149, allocations: 1.78 MB / 275.3 MB, free: 14.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.032770147547126]