Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009941/0.0009941, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009396/0.0009396, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.009/1.009, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2927/0.2927, allocations: 34.86 MB / 296.3 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.379e-05, allocations: 2.312 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002332/0.002355, allocations: 1.74 MB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.003083, allocations: 0.5681 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.003136, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.003317, allocations: 19.8 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.003626, allocations: 87.53 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.003856, allocations: 139.5 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003999, allocations: 91.64 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.004086, allocations: 19.98 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.004165, allocations: 51.89 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.004239, allocations: 35.89 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004256, allocations: 4 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.004398, allocations: 95.81 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.004457, allocations: 19.92 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.004483, allocations: 23.92 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.004706, allocations: 159.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004709, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004709, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.004714, allocations: 4 kB / 381.8 MB, free: 15.01 MB / 362.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.005139, allocations: 455.8 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005178, allocations: 8.031 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.005225, allocations: 12.89 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.005378, allocations: 148.9 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.005387, allocations: 4.375 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.005414, allocations: 4.375 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.005575, allocations: 112 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005583, allocations: 4.188 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005594, allocations: 8.125 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.0056, allocations: 4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.005636, allocations: 7.984 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.00595, allocations: 299.6 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.155e-05/0.006042, allocations: 43.06 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.00607, allocations: 15.67 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.006093, allocations: 7.938 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.006113, allocations: 41.45 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.006115, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004665/0.006581, allocations: 173.4 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.006615, allocations: 77.11 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.00673, allocations: 205.9 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.006742, allocations: 25.7 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.006794, allocations: 142.9 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.006817, allocations: 31.73 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.006858, allocations: 31.38 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.00697, allocations: 0.4922 MB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.007004, allocations: 19.92 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.007054, allocations: 65.09 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.007113, allocations: 35.69 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007114, allocations: 3.938 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.007228, allocations: 85.53 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.007242, allocations: 8 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.007246, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/0.007283, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.00738, allocations: 27.97 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.007384, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.00743, allocations: 19.95 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.007439, allocations: 8 kB / 384.4 MB, free: 12.18 MB / 362.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 (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 6.615e-05/0.007505, allocations: 160.5 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.00753, allocations: 11.95 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.007664, allocations: 90.75 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007666, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.00767, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007672, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.007956, allocations: 373.3 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007957, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.008022, allocations: 35.97 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008023, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.008031, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008032, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008035, allocations: 7.875 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.008164, allocations: 219.9 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.008174, allocations: 11.95 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.008188, allocations: 3.984 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.008245, allocations: 11.94 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.008294, allocations: 27.89 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.008298, allocations: 0 / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.646e-05/0.008364, allocations: 158.9 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008364, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.008569, allocations: 55.8 kB / 385.6 MB, free: 10.96 MB / 362.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 (9): * Single equations (assignments): 9 * 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.001013/0.009582, allocations: 491.5 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.009711, allocations: 55.59 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009712, allocations: 0 / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.009755, allocations: 35.61 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.009961, allocations: 34.97 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.0103, allocations: 210.8 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.01034, allocations: 63.34 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.898e-05/0.01039, allocations: 20.45 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.01043, allocations: 24.48 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01043, allocations: 4 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003888/0.01432, allocations: 2.653 MB / 389.1 MB, free: 7.496 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.5067087803035975]