Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.0007834/0.0007834, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007561/0.0007561, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.7977/0.7977, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1244/0.1244, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.141e-05, allocations: 6.078 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.00191/0.001931, allocations: 1.557 MB / 409.7 MB, free: 164 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004694/0.0024, allocations: 319.4 kB / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.002446, allocations: 4 kB / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.002653, allocations: 27.83 kB / 410 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.002807, allocations: 39.78 kB / 410.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.003018, allocations: 99.75 kB / 410.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003141, allocations: 55.83 kB / 410.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.003231, allocations: 7.984 kB / 410.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.003281, allocations: 27.92 kB / 410.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.003329, allocations: 15.92 kB / 410.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003345, allocations: 4 kB / 410.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.003404, allocations: 35.86 kB / 410.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.003449, allocations: 15.92 kB / 410.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.003472, allocations: 8 kB / 410.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.00361, allocations: 87.7 kB / 410.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003612, allocations: 3.938 kB / 410.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003613, allocations: 0 / 410.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003617, allocations: 0 / 410.4 MB, free: 15.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003432/0.00396, allocations: 309.8 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.003992, allocations: 12.03 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.004024, allocations: 12.88 kB / 410.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.004151, allocations: 133.6 kB / 410.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.004159, allocations: 384 / 410.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.004178, allocations: 4.375 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.004279, allocations: 54.25 kB / 410.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004289, allocations: 4.188 kB / 410.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004298, allocations: 4.125 kB / 410.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004302, allocations: 0 / 410.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.605e-05/0.004358, allocations: 23.97 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.004621, allocations: 220.6 kB / 411.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.004803, allocations: 46.5 kB / 411.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.004832, allocations: 16.94 kB / 411.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.004854, allocations: 11.94 kB / 411.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.004871, allocations: 34.56 kB / 411.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.004872, allocations: 0 / 411.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000364/0.005236, allocations: 157.3 kB / 411.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.005265, allocations: 55.41 kB / 411.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.005374, allocations: 169.2 kB / 411.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.005384, allocations: 25.7 kB / 411.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.005422, allocations: 92.14 kB / 411.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.005442, allocations: 27.84 kB / 411.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.005467, allocations: 17.72 kB / 411.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.005561, allocations: 318.8 kB / 412.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.0056, allocations: 19.98 kB / 412.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.005632, allocations: 23.92 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.005704, allocations: 52.77 kB / 412.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005705, allocations: 4 kB / 412.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.005814, allocations: 93.55 kB / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005826, allocations: 4 kB / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.005832, allocations: 0 / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005844, allocations: 0 / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.504e-05/0.005879, allocations: 15.98 kB / 412.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.005883, allocations: 0 / 412.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.005901, allocations: 4 kB / 412.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.005905, allocations: 0 / 412.3 MB, free: 13.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.875e-05/0.005964, allocations: 129.8 kB / 412.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.00598, allocations: 15.89 kB / 412.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.006107, allocations: 106.2 kB / 412.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006108, allocations: 288 / 412.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006113, allocations: 0 / 412.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006116, allocations: 3.984 kB / 412.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.006346, allocations: 294.1 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.006349, allocations: 3.984 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.006374, allocations: 15.98 kB / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.006375, allocations: 4 kB / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006381, allocations: 0 / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006382, allocations: 0 / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006383, allocations: 0 / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006509, allocations: 187.4 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.006517, allocations: 7.953 kB / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.006527, allocations: 0 / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.006559, allocations: 4 kB / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.006591, allocations: 11.92 kB / 413.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.006593, allocations: 4 kB / 413.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.006655, allocations: 131.2 kB / 413.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006655, allocations: 0 / 413.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.006813, allocations: 8 kB / 413.2 MB, free: 12.35 MB / 394.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006174/0.00743, allocations: 425.6 kB / 413.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.007548, allocations: 55.95 kB / 413.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.00755, allocations: 0 / 413.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.007587, allocations: 31.92 kB / 413.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.007794, allocations: 23.86 kB / 413.8 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.008099, allocations: 215.1 kB / 414 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.008152, allocations: 79.31 kB / 414.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.008178, allocations: 12.5 kB / 414.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008179, allocations: 0 / 414.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of Templates: time 0.002218/0.0104, allocations: 1.486 MB / 415.5 MB, free: 10.01 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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: 4.4903949946165085]