Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001522/0.001522, allocations: 76.42 kB / 19.93 MB, free: 1.781 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.001826/0.001826, allocations: 166.8 kB / 23.21 MB, free: 4.906 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.57/1.57, allocations: 158.6 MB / 185 MB, free: 6.395 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.2344/0.2344, allocations: 32.38 MB / 269.6 MB, free: 4.66 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.CombiTable1D.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.508e-05, allocations: 2.281 kB / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003715/0.00375, allocations: 1.547 MB / 408.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.004532, allocations: 319.4 kB / 409.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.004593, allocations: 0 / 409.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.004861, allocations: 27.84 kB / 409.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.005081, allocations: 39.78 kB / 409.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.005396, allocations: 95.05 kB / 409.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005574, allocations: 63.78 kB / 409.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.005698, allocations: 4 kB / 409.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.005767, allocations: 23.92 kB / 409.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.005843, allocations: 23.91 kB / 409.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.005863, allocations: 0 / 409.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.006091, allocations: 31.92 kB / 409.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.006159, allocations: 15.94 kB / 409.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.006194, allocations: 7.984 kB / 409.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.006395, allocations: 79.66 kB / 409.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.006401, allocations: 0 / 409.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.006402, allocations: 3.938 kB / 409.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.006413, allocations: 0 / 409.6 MB, free: 0.7227 MB / 334.1 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.0005868/0.007, allocations: 297.9 kB / 409.9 MB, free: 412 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.007049, allocations: 16.02 kB / 409.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.007091, allocations: 4.891 kB / 410 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.007345, allocations: 129.7 kB / 410.1 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.007357, allocations: 8.375 kB / 410.1 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.007386, allocations: 4.359 kB / 410.1 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.007564, allocations: 46.25 kB / 410.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.007579, allocations: 192 / 410.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.007592, allocations: 4.125 kB / 410.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.007599, allocations: 0 / 410.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.007707, allocations: 31.91 kB / 410.2 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.008213, allocations: 220.6 kB / 410.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.008462, allocations: 46.56 kB / 410.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.008519, allocations: 16.94 kB / 410.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.00855, allocations: 11.88 kB / 410.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.008583, allocations: 34.56 kB / 410.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.008584, allocations: 0 / 410.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007037/0.009288, allocations: 157.3 kB / 410.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.009337, allocations: 51.41 kB / 410.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.009513, allocations: 142.1 kB / 410.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.009535, allocations: 25.7 kB / 410.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.009615, allocations: 92.14 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.009646, allocations: 19.83 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.009709, allocations: 17.72 kB / 411 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.009913, allocations: 318.8 kB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.009989, allocations: 19.98 kB / 411.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.01005, allocations: 23.98 kB / 411.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.0102, allocations: 52.83 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.0102, allocations: 0 / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002123/0.01042, allocations: 89.48 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01043, allocations: 8 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01044, allocations: 0 / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.01046, allocations: 0 / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.01053, allocations: 19.92 kB / 411.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.01053, allocations: 4 kB / 411.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.01057, allocations: 0 / 411.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.01058, allocations: 8 kB / 411.5 MB, free: 14.66 MB / 350.1 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 0.000104/0.01068, allocations: 113.8 kB / 411.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.01072, allocations: 19.81 kB / 411.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.01098, allocations: 90.12 kB / 411.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01098, allocations: 7.938 kB / 411.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01099, allocations: 320 / 411.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01099, allocations: 0 / 411.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.01144, allocations: 298.1 kB / 412 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01145, allocations: 7.984 kB / 412 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.0115, allocations: 8 kB / 412.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.0115, allocations: 0 / 412.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.01151, allocations: 0 / 412.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01151, allocations: 4 kB / 412.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01152, allocations: 0 / 412.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.01179, allocations: 187.3 kB / 412.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.0118, allocations: 4 kB / 412.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01182, allocations: 0 / 412.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.01189, allocations: 11.98 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.01194, allocations: 4.281 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01195, allocations: 3.984 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.01213, allocations: 107.3 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01213, allocations: 0 / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00024/0.01237, allocations: 12 kB / 412.4 MB, free: 13.73 MB / 350.1 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.001633/0.014, allocations: 438.5 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.01424, allocations: 59.89 kB / 412.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01424, allocations: 0 / 412.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.01433, allocations: 23.98 kB / 412.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.01473, allocations: 23.91 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.01522, allocations: 168.6 kB / 413.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01532, allocations: 87.2 kB / 413.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.01538, allocations: 15.98 kB / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.01542, allocations: 16.48 kB / 413.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01542, allocations: 3.938 kB / 413.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Templates: time 0.004627/0.02005, allocations: 1.137 MB / 414.3 MB, free: 11.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.179816417396069]