Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001151/0.001151, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001784/0.002935, allocations: 452 kB / 10.43 MB, free: 264 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.001025/0.001025, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002426, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9499/0.9499, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1502/1.1, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.134/0.134, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02121/0.1552, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.044e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003137/0.003158, allocations: 1.735 MB / 269.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004633, allocations: 0.7919 MB / 270 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.668e-05/0.00472, allocations: 0 / 270 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.00502, allocations: 79.59 kB / 270.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.005233, allocations: 67.67 kB / 270.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.005495, allocations: 87.64 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.005698, allocations: 99.69 kB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.005745, allocations: 4 kB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.00592, allocations: 79.77 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.006031, allocations: 35.89 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.006052, allocations: 4 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.00614, allocations: 31.92 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.006193, allocations: 19.88 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.00623, allocations: 15.94 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.006415, allocations: 79.67 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.006427, allocations: 4 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006428, allocations: 0 / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.006439, allocations: 4 kB / 270.6 MB, free: 15.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005384/0.006977, allocations: 319.9 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.007018, allocations: 8.031 kB / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.007061, allocations: 8.922 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.007261, allocations: 141.6 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.007279, allocations: 384 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.007295, allocations: 8.312 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.007433, allocations: 57.77 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.007444, allocations: 11.92 kB / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.007453, allocations: 0 / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.007459, allocations: 0 / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.00749, allocations: 11.98 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.007604, allocations: 70.64 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.007712, allocations: 33.44 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.007742, allocations: 12.8 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.007759, allocations: 11.98 kB / 271.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.007881, allocations: 58.2 kB / 271.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.007882, allocations: 4 kB / 271.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001447/0.008027, allocations: 53.69 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.008066, allocations: 63.34 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.008202, allocations: 168.2 kB / 271.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.008219, allocations: 25.7 kB / 271.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.008255, allocations: 92.11 kB / 271.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.008287, allocations: 11.91 kB / 271.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.008327, allocations: 25.69 kB / 271.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.008427, allocations: 322.8 kB / 272.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.008448, allocations: 7.078 kB / 272.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.008479, allocations: 33.62 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.00853, allocations: 35.36 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008532, allocations: 0 / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.437e-05/0.008627, allocations: 64.44 kB / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.00864, allocations: 4 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.008644, allocations: 0 / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008658, allocations: 4 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.008736, allocations: 11.94 kB / 272.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008739, allocations: 0 / 272.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.00878, allocations: 15.95 kB / 272.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.008786, allocations: 0 / 272.3 MB, free: 13.47 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 (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.661e-05/0.008862, allocations: 116.7 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.00888, allocations: 7.984 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.008984, allocations: 58.16 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008986, allocations: 0 / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008989, allocations: 3.938 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.008996, allocations: 3.984 kB / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.009093, allocations: 89.77 kB / 272.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.009094, allocations: 0 / 272.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.009127, allocations: 12 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.009143, allocations: 11.88 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009146, allocations: 4 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.009153, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009155, allocations: 0 / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.009159, allocations: 8.047 kB / 272.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.009262, allocations: 78.78 kB / 272.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.009284, allocations: 11.98 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.009317, allocations: 0 / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.009341, allocations: 4 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.009353, allocations: 0 / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.009412, allocations: 60.39 kB / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009412, allocations: 0 / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.009597, allocations: 16 kB / 272.7 MB, free: 12.94 MB / 282.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.001657/0.01125, allocations: 0.566 MB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.01135, allocations: 24.86 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.01136, allocations: 4 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.0114, allocations: 16.84 kB / 273.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01163, allocations: 172.6 kB / 273.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.01216, allocations: 193.4 kB / 273.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.0122, allocations: 63.34 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.01224, allocations: 16.45 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.01232, allocations: 67.38 kB / 273.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01232, allocations: 0 / 273.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of Templates: time 0.004416/0.01674, allocations: 1.789 MB / 275.6 MB, free: 9.941 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.7552580907940865]