Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001244/0.001244, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001262/0.001262, allocations: 165 kB / 23.79 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.9447/0.9447, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1425/0.1425, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.064e-05, allocations: 8.219 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002155/0.002185, allocations: 1.653 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000491/0.002676, allocations: 343.3 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.002736, allocations: 3.938 kB / 349.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.003194, allocations: 455.1 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.003441, allocations: 259.3 kB / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.003707, allocations: 155.6 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.003871, allocations: 159.7 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003973, allocations: 16.17 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.004061, allocations: 119.7 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.00422, allocations: 239.6 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.004239, allocations: 0 / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.147e-05/0.004311, allocations: 31.92 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.004384, allocations: 91.7 kB / 351.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.004421, allocations: 35.69 kB / 351.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.004613, allocations: 195.2 kB / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004616, allocations: 4 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004617, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.004623, allocations: 3.984 kB / 351.4 MB, free: 5.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004253/0.005048, allocations: 0.6815 MB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.005084, allocations: 12.03 kB / 352.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.005135, allocations: 44.61 kB / 352.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005279, allocations: 236.9 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.005288, allocations: 4.375 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.005312, allocations: 8.359 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.005417, allocations: 62.94 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005425, allocations: 4.125 kB / 352.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.005434, allocations: 3.938 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005441, allocations: 0 / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.005472, allocations: 15.94 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.005815, allocations: 419.6 kB / 352.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.00598, allocations: 50.92 kB / 352.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.006001, allocations: 11.69 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.006022, allocations: 4 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.006036, allocations: 33.39 kB / 353 MB, free: 4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.006037, allocations: 0 / 353 MB, free: 4 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003451/0.006382, allocations: 192.8 kB / 353.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.006401, allocations: 51.41 kB / 353.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.006687, allocations: 0.6238 MB / 353.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.006693, allocations: 25.7 kB / 353.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.006788, allocations: 278.8 kB / 354.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.006806, allocations: 19.84 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.006832, allocations: 27.36 kB / 354.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.006908, allocations: 0.5547 MB / 354.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.006925, allocations: 4 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.006938, allocations: 7.984 kB / 354.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.006972, allocations: 27.62 kB / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006974, allocations: 192 / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.769e-05/0.007051, allocations: 93.42 kB / 354.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.007064, allocations: 11.98 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007068, allocations: 0 / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007083, allocations: 0 / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.007124, allocations: 8 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007129, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.007154, allocations: 8 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007158, allocations: 0 / 354.9 MB, free: 2.004 MB / 282.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.018e-05/0.007209, allocations: 168.5 kB / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.007236, allocations: 43.66 kB / 355.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.007357, allocations: 97.19 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007359, allocations: 0 / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007363, allocations: 288 / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007366, allocations: 0 / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.007641, allocations: 469.3 kB / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.007643, allocations: 0 / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.007672, allocations: 15.98 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007675, allocations: 7.938 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007682, allocations: 0 / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.007684, allocations: 3.984 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007685, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.007774, allocations: 251.8 kB / 355.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.007794, allocations: 31.72 kB / 355.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.007809, allocations: 0 / 355.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.007846, allocations: 4 kB / 356 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.007882, allocations: 11.98 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.007885, allocations: 7.938 kB / 356 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.008069, allocations: 418.8 kB / 356.4 MB, free: 440 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008069, allocations: 0 / 356.4 MB, free: 440 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.008247, allocations: 31.92 kB / 356.4 MB, free: 408 kB / 282.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.0007614/0.009008, allocations: 366.3 kB / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.466e-05/0.009103, allocations: 31.67 kB / 356.8 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009104, allocations: 0 / 356.8 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.009125, allocations: 23.61 kB / 356.8 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.009365, allocations: 27.16 kB / 356.9 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.01001, allocations: 0.5743 MB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.01009, allocations: 119.2 kB / 357.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.157e-05/0.01013, allocations: 15.98 kB / 357.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.01016, allocations: 12.5 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01016, allocations: 0 / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.003962/0.01413, allocations: 1.373 MB / 358.9 MB, free: 13.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.3675283971242607]