Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001613/0.001613, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00142/0.00142, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2453/0.2453, allocations: 46.95 MB / 360.9 MB, free: 4.023 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 68.08 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003812/0.3359, allocations: 1.66 MB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3371, allocations: 0.5387 MB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.3371, allocations: 0 / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3374, allocations: 71.77 kB / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3377, allocations: 103.6 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.3381, allocations: 139.3 kB / 0.5631 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3382, allocations: 87.75 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3384, allocations: 14.05 kB / 0.5632 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.3385, allocations: 51.77 kB / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3386, allocations: 51.81 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3386, allocations: 4 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3388, allocations: 59.97 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.3388, allocations: 27.86 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.3389, allocations: 27.8 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3391, allocations: 123.4 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3391, allocations: 4 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3391, allocations: 0 / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3392, allocations: 0 / 0.5635 GB, free: 1.262 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000662/0.3398, allocations: 361.4 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3399, allocations: 8.031 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.3399, allocations: 34.75 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.34, allocations: 20.84 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3402, allocations: 138.4 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3402, allocations: 4.375 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3402, allocations: 4.375 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3404, allocations: 73.53 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3405, allocations: 0 / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3405, allocations: 0 / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3405, allocations: 4 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3406, allocations: 35.91 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.3411, allocations: 287.8 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3413, allocations: 54.55 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.3414, allocations: 24.97 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3414, allocations: 0 / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3415, allocations: 34.56 kB / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3415, allocations: 3.938 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001539/0.343, allocations: 417.2 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3431, allocations: 51.41 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3433, allocations: 230.6 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3433, allocations: 29.7 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.3434, allocations: 112.1 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.3435, allocations: 31.7 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3435, allocations: 29.7 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3437, allocations: 322.8 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3438, allocations: 43.97 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3439, allocations: 43.97 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.3442, allocations: 104.7 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3442, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000314/0.3445, allocations: 145.5 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3445, allocations: 8 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3445, allocations: 0 / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3445, allocations: 3.938 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3446, allocations: 27.97 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3446, allocations: 0 / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.3447, allocations: 11.98 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3447, allocations: 8 kB / 0.5661 GB, free: 14.41 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 (11): * Single equations (assignments): 11 * 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.0001061/0.3448, allocations: 133.8 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3449, allocations: 15.91 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.3453, allocations: 159 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3453, allocations: 7.938 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3453, allocations: 0 / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3453, allocations: 0 / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.346, allocations: 435.1 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.346, allocations: 4 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3461, allocations: 32.16 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3461, allocations: 96 / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3461, allocations: 11.94 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3461, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3461, allocations: 3.938 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.3465, allocations: 261 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.3466, allocations: 19.89 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3466, allocations: 3.984 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3467, allocations: 12 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3467, allocations: 7.984 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3467, allocations: 7.984 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.3469, allocations: 163.2 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3469, allocations: 7.938 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3472, allocations: 23.94 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002379/0.3495, allocations: 1.176 MB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.3499, allocations: 99.92 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3499, allocations: 3.938 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.35, allocations: 59.91 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.3504, allocations: 21.95 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3529, allocations: 1.893 MB / 0.5705 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.353, allocations: 101.8 kB / 0.5706 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.3531, allocations: 12.48 kB / 0.5706 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.3531, allocations: 43.42 kB / 0.5707 GB, free: 9.695 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3531, allocations: 0 / 0.5707 GB, free: 9.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.3831, allocations: 4.052 MB / 0.5746 GB, free: 5.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.4, allocations: 8.938 kB / 0.5746 GB, free: 5.688 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: 14.444468279834837]