Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001956/0.001956, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002388/0.002388, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 75.88 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3083, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003241/0.3115, allocations: 1.663 MB / 0.5586 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3127, allocations: 0.5661 MB / 0.5592 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3128, allocations: 0 / 0.5592 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.3134, allocations: 459.1 kB / 0.5596 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.3138, allocations: 295.2 kB / 0.5599 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.3142, allocations: 175.1 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3145, allocations: 187.7 kB / 0.5602 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3146, allocations: 18.05 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3148, allocations: 115.7 kB / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.315, allocations: 255.5 kB / 0.5606 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.3151, allocations: 4 kB / 0.5606 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3152, allocations: 55.97 kB / 0.5607 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3153, allocations: 83.69 kB / 0.5607 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.3154, allocations: 75.19 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.3158, allocations: 306.4 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3158, allocations: 0 / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3158, allocations: 0 / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3158, allocations: 0 / 0.5611 GB, free: 3.27 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.0007948/0.3166, allocations: 0.6048 MB / 0.5617 GB, free: 2.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3166, allocations: 12.03 kB / 0.5617 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3166, allocations: 30.75 kB / 0.5617 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.3167, allocations: 44.66 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.317, allocations: 254.8 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.317, allocations: 8.312 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.317, allocations: 8.328 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3172, allocations: 65.61 kB / 0.5621 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3172, allocations: 3.984 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3172, allocations: 8 kB / 0.5621 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3172, allocations: 0 / 0.5621 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3174, allocations: 43.95 kB / 0.5622 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.318, allocations: 383.7 kB / 0.5625 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3182, allocations: 58.55 kB / 0.5626 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.3183, allocations: 24.97 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3183, allocations: 8.016 kB / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3183, allocations: 34.56 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3183, allocations: 0 / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.3198, allocations: 0.5005 MB / 0.5631 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3199, allocations: 55.41 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/0.3208, allocations: 0.8776 MB / 0.564 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3208, allocations: 25.7 kB / 0.5641 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.321, allocations: 216.1 kB / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.321, allocations: 39.67 kB / 0.5643 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.3211, allocations: 25.72 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3212, allocations: 362.8 kB / 0.5647 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3214, allocations: 51.95 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3215, allocations: 63.95 kB / 0.5648 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.3218, allocations: 136.9 kB / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3218, allocations: 0 / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000378/0.3222, allocations: 193.3 kB / 0.5651 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3222, allocations: 8 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3222, allocations: 0 / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3222, allocations: 11.92 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3224, allocations: 23.98 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3224, allocations: 3.984 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.3225, allocations: 15.86 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3225, allocations: 4 kB / 0.5652 GB, free: 14.91 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.0002161/0.3227, allocations: 221.8 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.3227, allocations: 51.67 kB / 0.5654 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.3232, allocations: 225.4 kB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3232, allocations: 3.938 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3232, allocations: 0 / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3232, allocations: 4 kB / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/0.3241, allocations: 0.5537 MB / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3241, allocations: 0 / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3242, allocations: 35.91 kB / 0.5662 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3242, allocations: 192 / 0.5662 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3242, allocations: 8 kB / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3242, allocations: 4 kB / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3242, allocations: 0 / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.3247, allocations: 312.8 kB / 0.5665 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.3248, allocations: 39.7 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3248, allocations: 4 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3249, allocations: 11.94 kB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3249, allocations: 7.984 kB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.325, allocations: 11.98 kB / 0.5666 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006729/0.3256, allocations: 0.655 MB / 0.5673 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3256, allocations: 0 / 0.5673 GB, free: 12.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3259, allocations: 35.92 kB / 0.5673 GB, free: 12.64 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.00256/0.3285, allocations: 1.232 MB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.3288, allocations: 127.8 kB / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3288, allocations: 0 / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.329, allocations: 67.89 kB / 0.5687 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3294, allocations: 22.31 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.334, allocations: 3.56 MB / 0.5722 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3343, allocations: 236.8 kB / 0.5724 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3345, allocations: 32.45 kB / 0.5724 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.3346, allocations: 127.4 kB / 0.5726 GB, free: 7.316 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3346, allocations: 0 / 0.5726 GB, free: 7.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.3704, allocations: 7.205 MB / 0.5796 GB, free: 164 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 10.64 kB / 0.5796 GB, free: 160 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.334909852128476]