Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001136/0.001136, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001408/0.001408, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 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.8611/0.8611, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.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.1774/0.1774, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.395e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00204/0.002064, allocations: 1.74 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008904/0.002954, allocations: 0.7959 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.003018, allocations: 4 kB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.0033, allocations: 35.77 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.003495, allocations: 59.69 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.003675, allocations: 83.72 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.003807, allocations: 99.67 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.003903, allocations: 8.234 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.003979, allocations: 55.77 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.004044, allocations: 23.91 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.00406, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.004126, allocations: 43.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.004175, allocations: 27.91 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.00421, allocations: 15.94 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004351, allocations: 95.59 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004353, allocations: 4 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004354, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.004358, allocations: 3.938 kB / 350.8 MB, free: 6.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003606/0.004719, allocations: 439.9 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.004762, allocations: 12.03 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.004815, allocations: 8.891 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.004954, allocations: 152.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.004971, allocations: 384 / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.00499, allocations: 8.328 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.005103, allocations: 62.94 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.005118, allocations: 7.938 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005127, allocations: 0 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.005135, allocations: 0 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.005169, allocations: 19.92 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.00542, allocations: 275.8 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.907e-05/0.005519, allocations: 55.17 kB / 351.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.005548, allocations: 19.61 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.005561, allocations: 7.938 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.793e-05/0.005649, allocations: 65.05 kB / 352 MB, free: 5.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.00565, allocations: 4 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003621/0.006012, allocations: 149.7 kB / 352.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.006037, allocations: 59.41 kB / 352.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.006134, allocations: 224 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.006142, allocations: 25.7 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.006174, allocations: 150.9 kB / 352.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.006196, allocations: 31.73 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.006223, allocations: 31.38 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.006268, allocations: 0.4923 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.006291, allocations: 15.98 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.006319, allocations: 31.38 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.006368, allocations: 67.28 kB / 353.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.00637, allocations: 0 / 353.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.685e-05/0.006466, allocations: 85.58 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.006482, allocations: 8 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.006488, allocations: 0 / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.006503, allocations: 0 / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.006577, allocations: 15.98 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.006584, allocations: 4 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.006612, allocations: 8.031 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00662, allocations: 4 kB / 353.3 MB, free: 3.527 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 (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 5.919e-05/0.006679, allocations: 172.4 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.006692, allocations: 11.91 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.006845, allocations: 102.6 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006847, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.006852, allocations: 7.969 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006856, allocations: 4 kB / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.007073, allocations: 385 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007075, allocations: 4.031 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.0071, allocations: 15.94 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007103, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007111, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.007113, allocations: 4 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007115, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007218, allocations: 259.4 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.00723, allocations: 15.94 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.007245, allocations: 0 / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.839e-05/0.007283, allocations: 4 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.007314, allocations: 3.984 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.007329, allocations: 15.94 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.007395, allocations: 168 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007395, allocations: 0 / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.007667, allocations: 23.94 kB / 354.5 MB, free: 2.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 (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.0009906/0.008658, allocations: 432.4 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.008806, allocations: 59.55 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.008807, allocations: 0 / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.008847, allocations: 31.73 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.009101, allocations: 40.19 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.009446, allocations: 217.4 kB / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.009482, allocations: 63.34 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.009524, allocations: 16.47 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.00956, allocations: 16.5 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009561, allocations: 0 / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.004016/0.01358, allocations: 1.981 MB / 357.4 MB, free: 15.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 3.3382866592146456]