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.0008861/0.0008861, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001978, 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.0007776/0.0007776, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008981/0.001676, 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.9324/0.9324, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2135/1.146, allocations: 49.5 MB / 220.5 MB, free: 5.273 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.1323/0.1323, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02823/0.1605, allocations: 12.3 MB / 265.9 MB, free: 7.82 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.974e-06/1.974e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.413e-05, allocations: 2.312 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002728/0.002753, allocations: 1.735 MB / 269 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003865, allocations: 0.7881 MB / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.00395, allocations: 0 / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.004227, allocations: 75.64 kB / 269.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.004389, allocations: 71.62 kB / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.004695, allocations: 87.69 kB / 270 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.004874, allocations: 91.7 kB / 270.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.004916, allocations: 4 kB / 270.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.005043, allocations: 87.75 kB / 270.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.005128, allocations: 27.91 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.005146, allocations: 4 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.005255, allocations: 35.92 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.005301, allocations: 15.92 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.005335, allocations: 15.94 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.005481, allocations: 79.69 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.005495, allocations: 0 / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005497, allocations: 4 kB / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.00551, allocations: 0 / 270.4 MB, free: 3.309 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.0003965/0.005907, allocations: 319.9 kB / 270.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.005936, allocations: 12.03 kB / 270.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.005962, allocations: 4.938 kB / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.006111, allocations: 145.6 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006126, allocations: 4.312 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.00614, allocations: 4.375 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.506e-05/0.006235, allocations: 57.77 kB / 270.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006243, allocations: 3.938 kB / 270.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.006248, allocations: 4 kB / 270.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.006252, allocations: 0 / 270.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.006275, allocations: 7.938 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.666e-05/0.006371, allocations: 74.62 kB / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.272e-05/0.006464, allocations: 41.42 kB / 271.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.006485, allocations: 8.859 kB / 271.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.006495, allocations: 3.984 kB / 271.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.603e-05/0.006581, allocations: 62.22 kB / 271.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.006582, allocations: 4 kB / 271.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001021/0.006684, allocations: 57.61 kB / 271.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.006713, allocations: 59.34 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.0068, allocations: 164.3 kB / 271.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.006813, allocations: 29.7 kB / 271.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.006838, allocations: 92.11 kB / 271.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.006866, allocations: 15.89 kB / 271.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.006895, allocations: 21.72 kB / 271.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.006964, allocations: 326.8 kB / 271.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.006974, allocations: 6.828 kB / 271.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.006999, allocations: 29.94 kB / 271.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.007034, allocations: 39.3 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007036, allocations: 0 / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.611e-05/0.007092, allocations: 60.45 kB / 272 MB, free: 1.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.007102, allocations: 4 kB / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007106, allocations: 3.984 kB / 272 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.007113, allocations: 0 / 272 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.007166, allocations: 15.94 kB / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007169, allocations: 0 / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.007192, allocations: 11.98 kB / 272.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.007196, allocations: 0 / 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 5.635e-05/0.007252, allocations: 124.6 kB / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.00726, allocations: 4 kB / 272.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.00733, allocations: 62.08 kB / 272.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.007331, allocations: 7.938 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007334, allocations: 3.938 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007337, allocations: 0 / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.064e-05/0.007398, allocations: 81.81 kB / 272.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007399, allocations: 0 / 272.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.007413, allocations: 11.98 kB / 272.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.007423, allocations: 7.953 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007424, allocations: 0 / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.00743, allocations: 8 kB / 272.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.007431, allocations: 0 / 272.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007432, allocations: 3.938 kB / 272.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.688e-05/0.007489, allocations: 86.83 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007501, allocations: 0 / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.007517, allocations: 8 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.007539, allocations: 3.984 kB / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.007548, allocations: 4 kB / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.007585, allocations: 60.39 kB / 272.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007585, allocations: 0 / 272.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001055/0.007691, allocations: 12 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.001032/0.008723, allocations: 0.5544 MB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.91e-05/0.008792, allocations: 28.78 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.008798, allocations: 8 kB / 273.1 MB, free: 332 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.00882, allocations: 12.86 kB / 273.1 MB, free: 316 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.008935, allocations: 36.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.000373/0.009308, allocations: 193.4 kB / 273.4 MB, free: 60 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.009348, allocations: 63.34 kB / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.689e-05/0.009375, allocations: 16.47 kB / 273.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.009426, allocations: 63.36 kB / 273.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009426, allocations: 0 / 273.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of Templates: time 0.002982/0.01241, allocations: 1.788 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.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.992435472086072]