Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001128/0.001128, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002729, 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.001027/0.001027, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002378, 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.9814/0.9814, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1884/1.17, allocations: 49.5 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.1344/0.1344, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02651/0.1609, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.135e-05, allocations: 6.25 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002325/0.002346, allocations: 1.739 MB / 269 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003371, allocations: 0.7881 MB / 269.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.003435, allocations: 0 / 269.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.00368, allocations: 63.62 kB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.003853, allocations: 55.75 kB / 269.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.004099, allocations: 87.69 kB / 270 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004265, allocations: 83.72 kB / 270.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.00431, allocations: 7.938 kB / 270.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.004446, allocations: 79.75 kB / 270.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.004531, allocations: 23.92 kB / 270.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004549, allocations: 4 kB / 270.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.004638, allocations: 35.92 kB / 270.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.004689, allocations: 19.94 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.004731, allocations: 15.94 kB / 270.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.004913, allocations: 99.53 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.004927, allocations: 0 / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.004928, allocations: 0 / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.004942, allocations: 0 / 270.4 MB, free: 3.336 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.0004796/0.005421, allocations: 351.7 kB / 270.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005459, allocations: 8.031 kB / 270.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.005489, allocations: 8.922 kB / 270.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005643, allocations: 149.6 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.005659, allocations: 8.375 kB / 270.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.005667, allocations: 384 / 270.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.005764, allocations: 61.7 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.005772, allocations: 3.938 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.005777, allocations: 0 / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-06/0.00578, allocations: 3.938 kB / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.005801, allocations: 7.984 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.596e-05/0.005897, allocations: 70.7 kB / 271 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.005985, allocations: 37.44 kB / 271.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.006006, allocations: 20.84 kB / 271.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.006018, allocations: 3.984 kB / 271.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.006121, allocations: 70.09 kB / 271.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006122, allocations: 0 / 271.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001213/0.006243, allocations: 53.69 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.00628, allocations: 63.33 kB / 271.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.006402, allocations: 207.8 kB / 271.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.006417, allocations: 25.7 kB / 271.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.006453, allocations: 100.1 kB / 271.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.00648, allocations: 11.89 kB / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.47e-05/0.006515, allocations: 21.7 kB / 271.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.006603, allocations: 334.8 kB / 272 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.006622, allocations: 6.828 kB / 272 MB, free: 1.578 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.006642, allocations: 25.89 kB / 272 MB, free: 1.547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.006685, allocations: 35.36 kB / 272 MB, free: 1.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006687, allocations: 0 / 272 MB, free: 1.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.833e-05/0.006765, allocations: 68.44 kB / 272.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006779, allocations: 4 kB / 272.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.006784, allocations: 4.031 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.006792, allocations: 0 / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.006869, allocations: 19.92 kB / 272.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.006872, allocations: 0 / 272.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.006903, allocations: 7.953 kB / 272.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.006908, allocations: 0 / 272.1 MB, free: 1.395 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.488e-05/0.006983, allocations: 120.7 kB / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.006997, allocations: 7.984 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.007097, allocations: 70.77 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007099, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.007101, allocations: 7.938 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007105, allocations: 3.938 kB / 272.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.078e-05/0.007186, allocations: 81.88 kB / 272.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.007189, allocations: 3.984 kB / 272.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.007214, allocations: 8 kB / 272.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.00723, allocations: 15.89 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007231, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.007236, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007237, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007239, allocations: 3.938 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/0.007318, allocations: 98.83 kB / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.007332, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.007355, allocations: 7.984 kB / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.00738, allocations: 0 / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007391, allocations: 0 / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.007443, allocations: 76.81 kB / 272.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.007443, allocations: 4 kB / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.007566, allocations: 15.94 kB / 272.7 MB, free: 0.8242 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.001218/0.008784, allocations: 0.5545 MB / 273.2 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.008913, allocations: 28.78 kB / 273.2 MB, free: 232 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.008928, allocations: 4 kB / 273.2 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.008959, allocations: 16.86 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.009147, allocations: 31.97 kB / 273.3 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.009697, allocations: 229.8 kB / 273.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.009738, allocations: 71.33 kB / 273.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.228e-05/0.00978, allocations: 16.47 kB / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.00984, allocations: 67.42 kB / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.009841, allocations: 3.938 kB / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.003621/0.01346, allocations: 1.799 MB / 275.5 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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: 2.9056462487205863]