Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001307/0.001307, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 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.001432/0.001432, allocations: 203.7 kB / 25.13 MB, free: 3.578 MB / 14.72 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.435/1.435, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2249/0.2249, allocations: 46.94 MB / 362 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 79.86 kB / 0.4978 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3201, allocations: 66.08 MB / 0.5624 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003125/0.3232, allocations: 1.683 MB / 0.564 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3244, allocations: 0.5693 MB / 0.5646 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.3244, allocations: 0 / 0.5646 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.3251, allocations: 463.1 kB / 0.565 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.3255, allocations: 295.3 kB / 0.5653 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.3259, allocations: 135 kB / 0.5654 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.3261, allocations: 175.6 kB / 0.5656 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3262, allocations: 15.97 kB / 0.5656 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3263, allocations: 111.7 kB / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.3266, allocations: 255.5 kB / 0.5659 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3266, allocations: 7.938 kB / 0.5659 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3267, allocations: 47.98 kB / 0.566 GB, free: 488 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3269, allocations: 83.69 kB / 0.5661 GB, free: 404 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.327, allocations: 114.9 kB / 0.5662 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3273, allocations: 273 kB / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3273, allocations: 0 / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3273, allocations: 0 / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3273, allocations: 0 / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007856/0.3281, allocations: 0.5892 MB / 0.567 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3281, allocations: 8.031 kB / 0.567 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.3282, allocations: 48.66 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3285, allocations: 246.8 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3285, allocations: 8.312 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3286, allocations: 4.375 kB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3287, allocations: 62.17 kB / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3287, allocations: 192 / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3288, allocations: 7.938 kB / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3288, allocations: 0 / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.3289, allocations: 27.97 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.3294, allocations: 367.7 kB / 0.5678 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.3295, allocations: 42.55 kB / 0.5678 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.3296, allocations: 20.94 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3296, allocations: 0 / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3296, allocations: 34.56 kB / 0.5679 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3296, allocations: 0 / 0.5679 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009374/0.3306, allocations: 312.6 kB / 0.5682 GB, free: 14.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3306, allocations: 59.34 kB / 0.5682 GB, free: 14.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/0.3316, allocations: 0.8614 MB / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3316, allocations: 29.7 kB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3318, allocations: 224.1 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3318, allocations: 31.73 kB / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.3319, allocations: 25.7 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3321, allocations: 362.7 kB / 0.5697 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.3322, allocations: 23.98 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.3322, allocations: 27.97 kB / 0.5697 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3324, allocations: 64.83 kB / 0.5698 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3324, allocations: 3.938 kB / 0.5698 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002409/0.3326, allocations: 137.3 kB / 0.5699 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3326, allocations: 4 kB / 0.5699 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3326, allocations: 0 / 0.5699 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3327, allocations: 4 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3328, allocations: 19.98 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3328, allocations: 0 / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.3328, allocations: 11.92 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3328, allocations: 4 kB / 0.57 GB, free: 12.2 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0002246/0.3331, allocations: 209.8 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.3331, allocations: 47.67 kB / 0.5702 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.3335, allocations: 181.6 kB / 0.5704 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3335, allocations: 0 / 0.5704 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3335, allocations: 0 / 0.5704 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3335, allocations: 7.938 kB / 0.5704 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.3341, allocations: 474.3 kB / 0.5709 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3341, allocations: 0 / 0.5709 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.3342, allocations: 19.98 kB / 0.5709 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3342, allocations: 3.938 kB / 0.5709 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.3342, allocations: 0 / 0.5709 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3342, allocations: 4 kB / 0.5709 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3342, allocations: 4.031 kB / 0.5709 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3345, allocations: 240 kB / 0.5711 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.3345, allocations: 35.72 kB / 0.5712 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3346, allocations: 3.938 kB / 0.5712 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.3347, allocations: 7.984 kB / 0.5712 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3347, allocations: 15.98 kB / 0.5712 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3347, allocations: 4 kB / 0.5712 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006599/0.3354, allocations: 0.6472 MB / 0.5718 GB, free: 10.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3354, allocations: 0 / 0.5718 GB, free: 10.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3356, allocations: 31.98 kB / 0.5719 GB, free: 10.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001666/0.3373, allocations: 466.6 kB / 0.5723 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.3375, allocations: 59.91 kB / 0.5724 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3375, allocations: 0 / 0.5724 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.3376, allocations: 35.91 kB / 0.5724 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.338, allocations: 30.38 kB / 0.5724 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3392, allocations: 0.8307 MB / 0.5732 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.3397, allocations: 0.826 MB / 0.574 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.3398, allocations: 16.73 kB / 0.574 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.3398, allocations: 19.42 kB / 0.5741 GB, free: 8.023 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3398, allocations: 0 / 0.5741 GB, free: 8.023 MB / 414.1 MB Notification: Performance of Templates: time 0.005347/0.3452, allocations: 1.779 MB / 0.5758 GB, free: 6.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 4.896900571184233]