Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001898/0.001898, allocations: 109.1 kB / 21.84 MB, free: 88 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.001668/0.001668, allocations: 220.9 kB / 25.13 MB, free: 3.609 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.432/1.432, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2316/0.2316, allocations: 46.93 MB / 362 MB, free: 4.238 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31") [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.002289/0.002289, allocations: 83.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3353, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00301/0.3383, allocations: 1.672 MB / 0.564 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3402, allocations: 1.298 MB / 0.5652 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.3403, allocations: 4 kB / 0.5653 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3405, allocations: 27.8 kB / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3408, allocations: 91.61 kB / 0.5654 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.3412, allocations: 171.1 kB / 0.5655 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3414, allocations: 79.81 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.3415, allocations: 19.64 kB / 0.5656 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.3415, allocations: 39.8 kB / 0.5657 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3417, allocations: 31.84 kB / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3417, allocations: 4 kB / 0.5657 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3419, allocations: 99.88 kB / 0.5658 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.3419, allocations: 19.92 kB / 0.5658 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.342, allocations: 35.78 kB / 0.5658 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.3422, allocations: 146.3 kB / 0.566 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3422, allocations: 0 / 0.566 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3422, allocations: 0 / 0.566 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3422, allocations: 0 / 0.566 GB, free: 0.5312 MB / 398.1 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.000543/0.3428, allocations: 341.6 kB / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3428, allocations: 12.03 kB / 0.5663 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3428, allocations: 8.891 kB / 0.5663 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3431, allocations: 140.8 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3431, allocations: 4.375 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3431, allocations: 4.375 kB / 0.5665 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3433, allocations: 97.66 kB / 0.5666 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3433, allocations: 4.188 kB / 0.5666 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3433, allocations: 11.92 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3433, allocations: 0 / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.3435, allocations: 43.89 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3439, allocations: 279.8 kB / 0.5669 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.344, allocations: 50.55 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.3441, allocations: 24.94 kB / 0.567 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3441, allocations: 0 / 0.567 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3442, allocations: 38.5 kB / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3442, allocations: 0 / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007789/0.3449, allocations: 241.2 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.345, allocations: 77.11 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3452, allocations: 145.6 kB / 0.5674 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3452, allocations: 25.7 kB / 0.5675 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.3452, allocations: 100.1 kB / 0.5676 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3453, allocations: 27.8 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3453, allocations: 21.7 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3455, allocations: 322.8 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3456, allocations: 39.95 kB / 0.568 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3457, allocations: 75.39 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.346, allocations: 92.83 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.346, allocations: 3.984 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003024/0.3463, allocations: 125.5 kB / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3463, allocations: 6.188 kB / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.3463, allocations: 0 / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3463, allocations: 4 kB / 0.5682 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3464, allocations: 23.97 kB / 0.5683 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3464, allocations: 0 / 0.5683 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.3465, allocations: 8 kB / 0.5683 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3465, allocations: 3.984 kB / 0.5683 GB, free: 13.96 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 (7): * Single equations (assignments): 7 * 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.000107/0.3466, allocations: 125.8 kB / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3467, allocations: 7.953 kB / 0.5684 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.347, allocations: 150.5 kB / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.347, allocations: 0 / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.347, allocations: 0 / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.347, allocations: 0 / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.3476, allocations: 385.5 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3476, allocations: 4 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.3477, allocations: 27.91 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3477, allocations: 0 / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3477, allocations: 4 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3477, allocations: 3.938 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3477, allocations: 0 / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3481, allocations: 219.4 kB / 0.5692 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.3481, allocations: 11.95 kB / 0.5692 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3481, allocations: 0 / 0.5692 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.3482, allocations: 15.86 kB / 0.5692 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3483, allocations: 7.984 kB / 0.5692 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3483, allocations: 0 / 0.5692 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3484, allocations: 115.2 kB / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3484, allocations: 0 / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.3487, allocations: 47.88 kB / 0.5694 GB, free: 12.77 MB / 414.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 (7): * Single equations (assignments): 7 * 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.001793/0.3505, allocations: 0.4922 MB / 0.5698 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.3508, allocations: 91.91 kB / 0.5699 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3508, allocations: 0 / 0.5699 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3509, allocations: 43.91 kB / 0.57 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3512, allocations: 19.98 kB / 0.57 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3518, allocations: 217.9 kB / 0.5702 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3521, allocations: 0.7002 MB / 0.5709 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.044e-05/0.3522, allocations: 28.62 kB / 0.5709 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.3523, allocations: 15.44 kB / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3523, allocations: 0 / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Templates: time 0.005241/0.3575, allocations: 1.967 MB / 0.5728 GB, free: 9.312 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0210810538847]