Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001808/0.001808, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002497/0.002497, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.227/0.227, allocations: 46.95 MB / 360.8 MB, free: 3.906 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 79.88 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3004, allocations: 66.08 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00306/0.3035, allocations: 1.662 MB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3045, allocations: 0.542 MB / 0.5629 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.3046, allocations: 0 / 0.5629 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3048, allocations: 71.77 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.3051, allocations: 111.6 kB / 0.563 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3054, allocations: 135.2 kB / 0.5632 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.3056, allocations: 87.75 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.3057, allocations: 18.05 kB / 0.5633 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.3057, allocations: 43.83 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3058, allocations: 59.75 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3058, allocations: 4 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.306, allocations: 51.97 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.306, allocations: 27.92 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.3061, allocations: 27.75 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3063, allocations: 127.4 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3063, allocations: 0 / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3063, allocations: 0 / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3063, allocations: 0 / 0.5636 GB, free: 1.059 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.000559/0.3068, allocations: 369.4 kB / 0.5639 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3069, allocations: 12.03 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.3069, allocations: 34.75 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.307, allocations: 12.84 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3072, allocations: 150.4 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.3072, allocations: 384 / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3072, allocations: 12.36 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3074, allocations: 62.17 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3074, allocations: 3.938 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3074, allocations: 4 kB / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3074, allocations: 0 / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3076, allocations: 43.95 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.308, allocations: 283.8 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3082, allocations: 46.5 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.3083, allocations: 32.89 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3083, allocations: 0 / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3083, allocations: 34.56 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.3083, allocations: 0 / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001419/0.3098, allocations: 405.3 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3098, allocations: 55.41 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3101, allocations: 230 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3101, allocations: 25.7 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.3101, allocations: 112.1 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.3102, allocations: 35.69 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.3102, allocations: 29.7 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3104, allocations: 322.8 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3105, allocations: 47.97 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3106, allocations: 39.97 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3109, allocations: 100.8 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3109, allocations: 0 / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003194/0.3112, allocations: 153.4 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3112, allocations: 6.031 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3112, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3112, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3114, allocations: 27.97 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3114, allocations: 3.938 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.3114, allocations: 12 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3114, allocations: 7.984 kB / 0.5662 GB, free: 14.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 (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.0001119/0.3116, allocations: 129.8 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.3116, allocations: 11.91 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.312, allocations: 167.3 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.312, allocations: 4 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.312, allocations: 3.938 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.312, allocations: 0 / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.3127, allocations: 435.2 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3127, allocations: 3.938 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3128, allocations: 31.97 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3128, allocations: 0 / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3128, allocations: 4 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3128, allocations: 0 / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3128, allocations: 96 / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3132, allocations: 273 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.3132, allocations: 15.84 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3132, allocations: 192 / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3133, allocations: 19.98 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.3134, allocations: 7.984 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.3134, allocations: 4 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3135, allocations: 167.2 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3135, allocations: 0 / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3138, allocations: 27.94 kB / 0.5674 GB, free: 12.82 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.002411/0.3162, allocations: 1.165 MB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.3165, allocations: 103.9 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3165, allocations: 0 / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3167, allocations: 59.91 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.317, allocations: 15.98 kB / 0.5687 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.3195, allocations: 1.888 MB / 0.5706 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3196, allocations: 109.8 kB / 0.5707 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.3197, allocations: 16.47 kB / 0.5707 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.3198, allocations: 39.42 kB / 0.5707 GB, free: 9.461 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3198, allocations: 4 kB / 0.5708 GB, free: 9.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.3516, allocations: 4.066 MB / 0.5747 GB, free: 5.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.64, allocations: 4.062 kB / 0.5747 GB, free: 5.402 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.783431376330554]