Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.006826/0.006826, allocations: 106.6 kB / 21.98 MB, free: 5.223 MB / 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.001906/0.001906, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.478/1.478, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.226/0.226, allocations: 46.93 MB / 362.3 MB, free: 4.184 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") [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.002575/0.002575, allocations: 79.86 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.331, allocations: 66.07 MB / 0.5627 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00424/0.3352, allocations: 2.071 MB / 0.5648 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3375, allocations: 1.146 MB / 0.5659 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.3378, allocations: 7.938 kB / 0.5659 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.3383, allocations: 267.1 kB / 0.5661 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006998/0.339, allocations: 255.1 kB / 0.5664 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3407, allocations: 0.668 MB / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.3414, allocations: 362.8 kB / 0.5674 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3416, allocations: 56.56 kB / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.3419, allocations: 155.4 kB / 0.5676 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.3423, allocations: 235.1 kB / 0.5678 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.3423, allocations: 12 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.3426, allocations: 71.97 kB / 0.5679 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3427, allocations: 95.67 kB / 0.568 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3429, allocations: 126.9 kB / 0.5681 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.3434, allocations: 341 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3434, allocations: 4 kB / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3434, allocations: 0 / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3435, allocations: 0 / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009351/0.3444, allocations: 0.5972 MB / 0.569 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3444, allocations: 11.97 kB / 0.569 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3445, allocations: 52.55 kB / 0.5691 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.345, allocations: 264.6 kB / 0.5693 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.345, allocations: 8.375 kB / 0.5693 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.345, allocations: 16.36 kB / 0.5693 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.3453, allocations: 123.1 kB / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3453, allocations: 192 / 0.5695 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3454, allocations: 7.938 kB / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3454, allocations: 8 kB / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3456, allocations: 95.8 kB / 0.5696 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.3464, allocations: 479.4 kB / 0.57 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3466, allocations: 110.5 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.3467, allocations: 32.84 kB / 0.5702 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3467, allocations: 12 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3467, allocations: 30.56 kB / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3467, allocations: 0 / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001136/0.3479, allocations: 458.6 kB / 0.5706 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3479, allocations: 67.23 kB / 0.5707 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/0.3486, allocations: 0.5683 MB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3486, allocations: 25.7 kB / 0.5713 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3488, allocations: 208.4 kB / 0.5715 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.3489, allocations: 59.48 kB / 0.5715 GB, free: 11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.349, allocations: 33.7 kB / 0.5716 GB, free: 10.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3491, allocations: 354.8 kB / 0.5719 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3493, allocations: 63.95 kB / 0.572 GB, free: 10.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3494, allocations: 75.95 kB / 0.572 GB, free: 10.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.3497, allocations: 151.5 kB / 0.5722 GB, free: 10.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3497, allocations: 0 / 0.5722 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000414/0.3501, allocations: 241.1 kB / 0.5724 GB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3501, allocations: 8 kB / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3501, allocations: 0 / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3502, allocations: 0 / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3503, allocations: 35.97 kB / 0.5725 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3503, allocations: 4 kB / 0.5725 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.3504, allocations: 8 kB / 0.5725 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3504, allocations: 7.938 kB / 0.5725 GB, free: 10.02 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 (17): * Single equations (assignments): 17 * 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.0002085/0.3506, allocations: 185.7 kB / 0.5727 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.3507, allocations: 43.66 kB / 0.5727 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.3513, allocations: 279.4 kB / 0.573 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.3513, allocations: 11.94 kB / 0.573 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3513, allocations: 0 / 0.573 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3513, allocations: 0 / 0.573 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009736/0.3523, allocations: 0.6456 MB / 0.5736 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3523, allocations: 3.984 kB / 0.5736 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3524, allocations: 39.92 kB / 0.5737 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3524, allocations: 0 / 0.5737 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3524, allocations: 8 kB / 0.5737 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3524, allocations: 4 kB / 0.5737 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3524, allocations: 0 / 0.5737 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.3529, allocations: 333.5 kB / 0.574 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3529, allocations: 31.75 kB / 0.574 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.353, allocations: 4 kB / 0.574 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.3531, allocations: 4 kB / 0.574 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3531, allocations: 23.97 kB / 0.574 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3532, allocations: 7.938 kB / 0.5741 GB, free: 8.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004902/0.3536, allocations: 427.1 kB / 0.5745 GB, free: 7.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3536, allocations: 0 / 0.5745 GB, free: 7.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.354, allocations: 51.88 kB / 0.5745 GB, free: 7.867 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 (17): * Single equations (assignments): 17 * 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.002732/0.3567, allocations: 0.6808 MB / 0.5752 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.3571, allocations: 167.8 kB / 0.5753 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3571, allocations: 0 / 0.5753 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.3573, allocations: 86.08 kB / 0.5754 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.3579, allocations: 76.38 kB / 0.5755 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3592, allocations: 0.7419 MB / 0.5762 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.3597, allocations: 0.8221 MB / 0.577 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.712e-05/0.3598, allocations: 35.42 kB / 0.577 GB, free: 5.488 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3598, allocations: 3.938 kB / 0.5771 GB, free: 5.484 MB / 414.1 MB Notification: Performance of Templates: time 0.008939/0.3687, allocations: 4.829 MB / 0.5818 GB, free: 0.6641 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 8.317252109991387]