Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001325/0.001325, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001462/0.001462, allocations: 214.3 kB / 23.74 MB, free: 4.656 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2331/0.2331, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 75.88 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 66.03 MB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003281/0.331, allocations: 1.617 MB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3321, allocations: 0.5543 MB / 0.5628 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.3322, allocations: 3.938 kB / 0.5628 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.3324, allocations: 23.83 kB / 0.5628 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.3327, allocations: 79.64 kB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.333, allocations: 111.7 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3331, allocations: 71.77 kB / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.3332, allocations: 9.812 kB / 0.5631 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.3333, allocations: 23.92 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.3333, allocations: 23.81 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3333, allocations: 4 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.3334, allocations: 35.97 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.3335, allocations: 15.92 kB / 0.5632 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.3335, allocations: 19.81 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.3337, allocations: 95.64 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3337, allocations: 0 / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3337, allocations: 0 / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3337, allocations: 0 / 0.5633 GB, free: 1.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004882/0.3342, allocations: 313.8 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3342, allocations: 12.02 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.3343, allocations: 34.69 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3343, allocations: 8.891 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3345, allocations: 130.4 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3345, allocations: 8.375 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3345, allocations: 384 / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3347, allocations: 53.61 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3347, allocations: 0 / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3347, allocations: 3.984 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3347, allocations: 4 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.3348, allocations: 19.98 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3352, allocations: 271.8 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3355, allocations: 38.56 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.3355, allocations: 20.94 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3356, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3356, allocations: 34.56 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3356, allocations: 0 / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006002/0.3362, allocations: 157.3 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.3362, allocations: 51.41 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3364, allocations: 167.4 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3364, allocations: 29.64 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3365, allocations: 92.14 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3365, allocations: 23.78 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3365, allocations: 25.66 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3367, allocations: 326.8 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.3368, allocations: 19.98 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.3368, allocations: 19.98 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.337, allocations: 61 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.337, allocations: 0 / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002017/0.3372, allocations: 81.62 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3372, allocations: 8 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3372, allocations: 0 / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3372, allocations: 0 / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.3373, allocations: 15.92 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3373, allocations: 3.938 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.3374, allocations: 11.98 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3374, allocations: 4 kB / 0.5652 GB, free: 15.6 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 (5): * Single equations (assignments): 5 * 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 9.194e-05/0.3375, allocations: 117.8 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.3375, allocations: 7.953 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.3378, allocations: 98.05 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3378, allocations: 0 / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3378, allocations: 3.938 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3378, allocations: 0 / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.3383, allocations: 333.6 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3383, allocations: 0 / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.3383, allocations: 11.98 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.3383, allocations: 7.938 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.3383, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3383, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3383, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3386, allocations: 195.6 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.3386, allocations: 3.953 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3386, allocations: 7.938 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.3387, allocations: 3.984 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.3387, allocations: 4 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3387, allocations: 4 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3388, allocations: 125.5 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3388, allocations: 0 / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3391, allocations: 15.95 kB / 0.5661 GB, free: 14.59 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 (5): * Single equations (assignments): 5 * 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.001961/0.341, allocations: 1.039 MB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3413, allocations: 51.95 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3413, allocations: 4 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.3413, allocations: 27.98 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3417, allocations: 23.44 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.3435, allocations: 1.484 MB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3438, allocations: 0.7041 MB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.3438, allocations: 15.77 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.3439, allocations: 27.36 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3439, allocations: 0 / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3723, allocations: 2.785 MB / 0.5721 GB, free: 8.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.51, allocations: 10.34 kB / 0.5722 GB, free: 8.512 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.602446539000084]