Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.0009735/0.0009735, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003841/0.004815, 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.00135/0.00135, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.003106, 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.9714/0.9714, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1987/1.17, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1456/0.1456, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02532/0.1709, 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.378e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002377/0.002401, allocations: 1.766 MB / 269.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.004281, allocations: 1.556 MB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.00439, allocations: 4 kB / 270.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.004664, allocations: 43.7 kB / 270.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.004867, allocations: 59.62 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.005103, allocations: 83.7 kB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.005274, allocations: 103.6 kB / 270.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.005374, allocations: 8.234 kB / 270.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.005503, allocations: 83.81 kB / 271 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005603, allocations: 31.89 kB / 271 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.005624, allocations: 4 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.005771, allocations: 63.91 kB / 271.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.005813, allocations: 15.94 kB / 271.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.005849, allocations: 19.88 kB / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.006038, allocations: 119.5 kB / 271.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.006056, allocations: 0 / 271.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.006057, allocations: 0 / 271.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.006072, allocations: 0 / 271.2 MB, free: 2.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004748/0.006547, allocations: 331.9 kB / 271.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.006578, allocations: 8.031 kB / 271.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.006613, allocations: 4.938 kB / 271.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.006793, allocations: 146.1 kB / 271.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.006814, allocations: 4.375 kB / 271.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.006833, allocations: 4.375 kB / 271.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.006992, allocations: 120.5 kB / 271.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.007003, allocations: 0 / 271.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.007011, allocations: 0 / 271.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007016, allocations: 3.938 kB / 271.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.007053, allocations: 22.81 kB / 271.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.007296, allocations: 173.8 kB / 272 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.007411, allocations: 89.3 kB / 272.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.007439, allocations: 20.78 kB / 272.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.007455, allocations: 0 / 272.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.007576, allocations: 66.28 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.007578, allocations: 0 / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003276/0.007905, allocations: 125.4 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.007939, allocations: 63.39 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.008045, allocations: 156.2 kB / 272.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008063, allocations: 33.7 kB / 272.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.0081, allocations: 95.97 kB / 272.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.008127, allocations: 27.78 kB / 272.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.008165, allocations: 25.7 kB / 272.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003874/0.008552, allocations: 326.8 kB / 273.1 MB, free: 500 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.008574, allocations: 6.828 kB / 273.1 MB, free: 492 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.008614, allocations: 60.25 kB / 273.1 MB, free: 416 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.008665, allocations: 47.3 kB / 273.2 MB, free: 360 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008667, allocations: 8.016 kB / 273.2 MB, free: 352 kB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.445e-05/0.008761, allocations: 80.47 kB / 273.3 MB, free: 264 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008776, allocations: 8 kB / 273.3 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.008782, allocations: 0 / 273.3 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.008795, allocations: 0 / 273.3 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.008877, allocations: 19.98 kB / 273.3 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.008882, allocations: 4 kB / 273.3 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.00891, allocations: 0 / 273.3 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008917, allocations: 4 kB / 273.3 MB, free: 228 kB / 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 (11): * Single equations (assignments): 11 * 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 9.145e-05/0.009009, allocations: 132.6 kB / 273.4 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.009027, allocations: 11.92 kB / 273.4 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.009202, allocations: 82.45 kB / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.009206, allocations: 4 kB / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.009208, allocations: 0 / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.009213, allocations: 0 / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.009515, allocations: 303.3 kB / 273.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.009519, allocations: 0 / 273.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.009572, allocations: 16 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.009591, allocations: 11.94 kB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.009595, allocations: 4.031 kB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.009605, allocations: 4 kB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.00961, allocations: 4 kB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.009616, allocations: 3.938 kB / 273.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.009797, allocations: 223.3 kB / 274.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.00982, allocations: 8 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.009866, allocations: 0 / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.009906, allocations: 7.984 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.009925, allocations: 11.94 kB / 274.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.009973, allocations: 39.64 kB / 274.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.009974, allocations: 4 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.01018, allocations: 31.94 kB / 274.2 MB, free: 15.27 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 (11): * Single equations (assignments): 9 * 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.001677/0.01186, allocations: 0.6945 MB / 274.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.01199, allocations: 44.78 kB / 274.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.012, allocations: 4 kB / 274.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.01204, allocations: 36.7 kB / 274.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01224, allocations: 51.86 kB / 275 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.01283, allocations: 214.7 kB / 275.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.371e-05/0.01288, allocations: 75.22 kB / 275.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.01294, allocations: 16.95 kB / 275.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/0.01303, allocations: 87.27 kB / 275.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01304, allocations: 0 / 275.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Templates: time 0.004981/0.01802, allocations: 2.483 MB / 277.9 MB, free: 11.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.9892874667420983]