Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.001603/0.001603, allocations: 75.36 kB / 19.93 MB, free: 1.77 MB / 14.72 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.00148/0.00148, allocations: 173.2 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.443/1.443, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.2224/0.2224, allocations: 32.37 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.088e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004312/0.004353, allocations: 1.678 MB / 409.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.006401, allocations: 0.7841 MB / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.006495, allocations: 3.938 kB / 409.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.006894, allocations: 47.81 kB / 409.9 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.007183, allocations: 59.69 kB / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.007542, allocations: 99.02 kB / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.007762, allocations: 95.62 kB / 410.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.00786, allocations: 12.17 kB / 410.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.007997, allocations: 55.77 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.008098, allocations: 23.91 kB / 410.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.008126, allocations: 4 kB / 410.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.008262, allocations: 47.91 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.008383, allocations: 31.94 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.008448, allocations: 15.94 kB / 410.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.008747, allocations: 131.5 kB / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.008752, allocations: 4 kB / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008753, allocations: 0 / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.008757, allocations: 0 / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007867/0.009544, allocations: 365.3 kB / 410.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.009586, allocations: 8.031 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.009661, allocations: 16.84 kB / 410.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.01003, allocations: 165.2 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.01005, allocations: 4.375 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.01008, allocations: 384 / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.01029, allocations: 58.23 kB / 411.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01031, allocations: 11.92 kB / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.01032, allocations: 0 / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01033, allocations: 0 / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.01043, allocations: 19.98 kB / 411.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.01092, allocations: 240.6 kB / 411.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.01119, allocations: 58.61 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.01127, allocations: 24.78 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.01129, allocations: 3.938 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.0115, allocations: 75.39 kB / 411.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.01151, allocations: 0 / 411.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007937/0.0123, allocations: 189.2 kB / 411.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.01236, allocations: 55.41 kB / 411.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.01276, allocations: 263.7 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.01279, allocations: 29.7 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.01289, allocations: 108.1 kB / 412.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.01293, allocations: 23.84 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.013, allocations: 29.64 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.0132, allocations: 326.8 kB / 412.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.01329, allocations: 27.98 kB / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01339, allocations: 41.64 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.01358, allocations: 57.66 kB / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01358, allocations: 0 / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003038/0.01388, allocations: 109.5 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.0139, allocations: 4 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.0139, allocations: 0 / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01393, allocations: 4 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.01406, allocations: 20.02 kB / 412.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.01407, allocations: 3.938 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.01414, allocations: 4 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01415, allocations: 4 kB / 412.8 MB, free: 13.34 MB / 350.1 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 (10): * Single equations (assignments): 10 * 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 0.000186/0.01434, allocations: 147.5 kB / 413 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01437, allocations: 15.91 kB / 413 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.01476, allocations: 131.2 kB / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01476, allocations: 0 / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01477, allocations: 0 / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01478, allocations: 0 / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.01543, allocations: 366.9 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01543, allocations: 0 / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.01548, allocations: 8 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.01549, allocations: 4 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01551, allocations: 3.984 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01551, allocations: 384 / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.01551, allocations: 4 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.01589, allocations: 220.1 kB / 413.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.01592, allocations: 11.91 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.01596, allocations: 12.03 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.01607, allocations: 7.984 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.01611, allocations: 4 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.01613, allocations: 8.359 kB / 413.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.0164, allocations: 203.2 kB / 413.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0164, allocations: 0 / 413.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.0168, allocations: 20 kB / 414 MB, free: 12.13 MB / 350.1 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 (9): * Single equations (assignments): 7 * 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.002303/0.01911, allocations: 499.5 kB / 414.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.01936, allocations: 55.92 kB / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01937, allocations: 0 / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.01947, allocations: 27.98 kB / 414.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.01998, allocations: 35.48 kB / 414.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.02071, allocations: 299.1 kB / 414.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.02087, allocations: 105.7 kB / 415 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.02094, allocations: 20.64 kB / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.02099, allocations: 16.5 kB / 415 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.02099, allocations: 0 / 415 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.006964/0.02795, allocations: 1.842 MB / 416.8 MB, free: 9.289 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.135214496403933]