Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.0006538/0.0006538, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007301/0.0007301, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.7581/0.7581, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1202/0.1202, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 4 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.65e-05, allocations: 2.281 kB / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.001867/0.001883, allocations: 1.561 MB / 409.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.002841, allocations: 1.033 MB / 410.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.00288, allocations: 0 / 410.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.003012, allocations: 23.8 kB / 410.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003136, allocations: 51.72 kB / 410.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.003293, allocations: 91.73 kB / 410.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.003378, allocations: 51.84 kB / 410.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.00344, allocations: 8 kB / 410.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.003484, allocations: 39.83 kB / 411 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.003554, allocations: 15.92 kB / 411 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.003566, allocations: 4 kB / 411 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.003636, allocations: 51.91 kB / 411 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.003668, allocations: 15.92 kB / 411.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.003689, allocations: 12 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003813, allocations: 87.7 kB / 411.2 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003814, allocations: 0 / 411.2 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003815, allocations: 3.938 kB / 411.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.003818, allocations: 0 / 411.2 MB, free: 9.949 MB / 346.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.0002504/0.004068, allocations: 313.8 kB / 411.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.223e-05/0.00409, allocations: 8.031 kB / 411.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.004112, allocations: 8.891 kB / 411.5 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.751e-05/0.00421, allocations: 125.7 kB / 411.6 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.004215, allocations: 384 / 411.6 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.004227, allocations: 8.375 kB / 411.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.004324, allocations: 93.66 kB / 411.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004331, allocations: 192 / 411.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.004338, allocations: 4.125 kB / 411.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.004341, allocations: 0 / 411.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.004389, allocations: 27.97 kB / 411.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.004585, allocations: 220.6 kB / 411.9 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.004703, allocations: 38.56 kB / 412 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.004727, allocations: 24.94 kB / 412 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.004743, allocations: 3.938 kB / 412 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.004759, allocations: 34.56 kB / 412 MB, free: 8.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.00476, allocations: 0 / 412 MB, free: 8.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000295/0.005055, allocations: 153.5 kB / 412.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.005084, allocations: 85.09 kB / 412.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.00516, allocations: 129.8 kB / 412.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.005171, allocations: 33.7 kB / 412.4 MB, free: 8.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.005202, allocations: 92.06 kB / 412.5 MB, free: 8.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.005218, allocations: 19.86 kB / 412.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.005242, allocations: 17.72 kB / 412.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.005308, allocations: 318.8 kB / 412.9 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.005341, allocations: 23.92 kB / 412.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.005386, allocations: 63.39 kB / 413 MB, free: 7.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.005451, allocations: 52.83 kB / 413 MB, free: 7.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.005452, allocations: 4.031 kB / 413 MB, free: 7.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.702e-05/0.005539, allocations: 77.61 kB / 413.1 MB, free: 7.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.005548, allocations: 8 kB / 413.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.005551, allocations: 0 / 413.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.005558, allocations: 3.984 kB / 413.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/0.00559, allocations: 11.94 kB / 413.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.005593, allocations: 0 / 413.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.005616, allocations: 15.92 kB / 413.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.00562, allocations: 4 kB / 413.1 MB, free: 7.762 MB / 346.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 4.852e-05/0.005668, allocations: 117.8 kB / 413.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.005685, allocations: 11.89 kB / 413.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.005802, allocations: 98.02 kB / 413.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005804, allocations: 3.938 kB / 413.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.005806, allocations: 0 / 413.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005808, allocations: 0 / 413.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.006035, allocations: 298.1 kB / 413.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006036, allocations: 4 kB / 413.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.00606, allocations: 11.98 kB / 413.7 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.006063, allocations: 4 kB / 413.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006068, allocations: 0 / 413.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006069, allocations: 0 / 413.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006069, allocations: 0 / 413.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.006187, allocations: 183.4 kB / 413.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.006193, allocations: 7.953 kB / 413.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006203, allocations: 4 kB / 413.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.006237, allocations: 11.98 kB / 413.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.006256, allocations: 0 / 413.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.006258, allocations: 0 / 413.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.006304, allocations: 107.2 kB / 414 MB, free: 6.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006304, allocations: 3.938 kB / 414 MB, free: 6.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.006462, allocations: 23.94 kB / 414 MB, free: 6.82 MB / 346.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.000614/0.007076, allocations: 472.4 kB / 414.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.007182, allocations: 51.95 kB / 414.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.007182, allocations: 3.938 kB / 414.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.007217, allocations: 23.98 kB / 414.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.007388, allocations: 19.92 kB / 414.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.007619, allocations: 186.3 kB / 414.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.007666, allocations: 83.23 kB / 414.8 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.007699, allocations: 16.5 kB / 414.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007699, allocations: 0 / 414.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of Templates: time 0.001874/0.009573, allocations: 1.624 MB / 416.5 MB, free: 4.348 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.383297898806632]