Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001329/0.001329, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001409/0.001409, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2539/0.2539, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 64.14 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3716, allocations: 66.03 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003393/0.375, allocations: 1.711 MB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3761, allocations: 0.601 MB / 0.5629 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.3762, allocations: 0 / 0.5629 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.3768, allocations: 455.1 kB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.3773, allocations: 295.3 kB / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3777, allocations: 179.1 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.378, allocations: 179.6 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3781, allocations: 22.03 kB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3782, allocations: 119.7 kB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.3785, allocations: 259.5 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3785, allocations: 4 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3787, allocations: 47.98 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3788, allocations: 87.69 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3789, allocations: 114.9 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.3793, allocations: 290.5 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3793, allocations: 3.938 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3793, allocations: 0 / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3793, allocations: 4 kB / 0.5649 GB, free: 112 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.0008144/0.3801, allocations: 0.6011 MB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3801, allocations: 8.031 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.3802, allocations: 34.75 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.3802, allocations: 44.66 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3806, allocations: 258.7 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3806, allocations: 384 / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3806, allocations: 8.328 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3808, allocations: 73.59 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3808, allocations: 0 / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3808, allocations: 0 / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3808, allocations: 0 / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.381, allocations: 51.95 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.3816, allocations: 387.7 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3818, allocations: 54.55 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3819, allocations: 36.97 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3819, allocations: 11.94 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.382, allocations: 34.56 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.382, allocations: 0 / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001546/0.3835, allocations: 0.4963 MB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3836, allocations: 59.41 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.3845, allocations: 0.8737 MB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3845, allocations: 29.7 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3847, allocations: 212.1 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3847, allocations: 39.69 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3848, allocations: 25.72 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3849, allocations: 362.8 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3851, allocations: 55.95 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3852, allocations: 55.95 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3855, allocations: 129 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3855, allocations: 7.938 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003905/0.3859, allocations: 197.3 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3859, allocations: 4 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3859, allocations: 3.984 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3859, allocations: 3.938 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.386, allocations: 27.98 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.386, allocations: 3.938 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.821e-05/0.3861, allocations: 11.98 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3861, allocations: 4 kB / 0.569 GB, free: 11.74 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.0002068/0.3863, allocations: 221.8 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.3864, allocations: 47.67 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.3869, allocations: 230 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3869, allocations: 3.938 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3869, allocations: 0 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3869, allocations: 0 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.3877, allocations: 0.581 MB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3877, allocations: 0 / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3878, allocations: 27.92 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3878, allocations: 4 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3879, allocations: 64 / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3879, allocations: 4 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3879, allocations: 4 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.3883, allocations: 308.8 kB / 0.5703 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.3883, allocations: 51.64 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3884, allocations: 0 / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3885, allocations: 15.98 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/0.3885, allocations: 7.984 kB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3885, allocations: 4 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000666/0.3892, allocations: 0.6589 MB / 0.5711 GB, free: 9.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3892, allocations: 0 / 0.5711 GB, free: 9.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.3895, allocations: 31.94 kB / 0.5711 GB, free: 9.457 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.002398/0.3919, allocations: 1.204 MB / 0.5723 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3922, allocations: 123.8 kB / 0.5724 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3922, allocations: 4 kB / 0.5724 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3924, allocations: 67.89 kB / 0.5724 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.3929, allocations: 27.61 kB / 0.5725 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.3972, allocations: 3.565 MB / 0.576 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3977, allocations: 0.8377 MB / 0.5768 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3978, allocations: 32.47 kB / 0.5768 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.398, allocations: 127.4 kB / 0.5769 GB, free: 3.512 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.398, allocations: 0 / 0.5769 GB, free: 3.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.4333, allocations: 6.897 MB / 0.5837 GB, free: 12.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 0 / 0.5837 GB, free: 12.69 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.101566589997674]