Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.001633/0.001633, 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.001995/0.001995, allocations: 209.7 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2318/0.2318, allocations: 44.95 MB / 358.8 MB, free: 6.031 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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.002118/0.002118, allocations: 65.77 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.00346/0.3136, allocations: 1.595 MB / 0.5585 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3147, allocations: 0.5115 MB / 0.559 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.3147, allocations: 7.875 kB / 0.559 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.3149, allocations: 35.83 kB / 0.5591 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3152, allocations: 79.62 kB / 0.5592 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.3155, allocations: 87.77 kB / 0.5592 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3156, allocations: 63.83 kB / 0.5593 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.3157, allocations: 9.766 kB / 0.5593 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.3158, allocations: 23.91 kB / 0.5593 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3158, allocations: 27.8 kB / 0.5594 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3159, allocations: 4 kB / 0.5594 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.3159, allocations: 32 kB / 0.5594 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.316, allocations: 19.91 kB / 0.5594 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.316, allocations: 15.88 kB / 0.5594 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3162, allocations: 87.59 kB / 0.5595 GB, free: 4.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3162, allocations: 0 / 0.5595 GB, free: 4.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3162, allocations: 0 / 0.5595 GB, free: 4.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3162, allocations: 0 / 0.5595 GB, free: 4.926 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.000461/0.3167, allocations: 321.8 kB / 0.5598 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3167, allocations: 8.031 kB / 0.5598 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.3167, allocations: 34.69 kB / 0.5599 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.3168, allocations: 16.84 kB / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.317, allocations: 145.9 kB / 0.56 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.317, allocations: 8.062 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.317, allocations: 4 kB / 0.56 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3171, allocations: 45.69 kB / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3171, allocations: 0 / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.3171, allocations: 0 / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3171, allocations: 8 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.3172, allocations: 23.97 kB / 0.5601 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.3176, allocations: 243.9 kB / 0.5603 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.3178, allocations: 42.56 kB / 0.5604 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.3178, allocations: 20.94 kB / 0.5604 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3178, allocations: 0 / 0.5604 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3179, allocations: 30.56 kB / 0.5604 GB, free: 3.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3179, allocations: 0 / 0.5604 GB, free: 3.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005249/0.3184, allocations: 145.4 kB / 0.5606 GB, free: 3.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.3184, allocations: 59.41 kB / 0.5606 GB, free: 3.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3186, allocations: 187.6 kB / 0.5608 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3186, allocations: 25.7 kB / 0.5608 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.3187, allocations: 100.1 kB / 0.5609 GB, free: 3.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3187, allocations: 19.89 kB / 0.5609 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3188, allocations: 13.72 kB / 0.5609 GB, free: 3.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3189, allocations: 326.8 kB / 0.5613 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.319, allocations: 15.92 kB / 0.5613 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.319, allocations: 19.98 kB / 0.5613 GB, free: 2.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3192, allocations: 52.83 kB / 0.5613 GB, free: 2.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3192, allocations: 0 / 0.5613 GB, free: 2.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001783/0.3194, allocations: 81.58 kB / 0.5614 GB, free: 2.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3194, allocations: 4 kB / 0.5614 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3194, allocations: 0 / 0.5614 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3194, allocations: 0 / 0.5614 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.3195, allocations: 19.92 kB / 0.5614 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3195, allocations: 3.938 kB / 0.5614 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.3195, allocations: 8 kB / 0.5615 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3195, allocations: 0 / 0.5615 GB, free: 2.738 MB / 398.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 0.0001001/0.3196, allocations: 121.8 kB / 0.5616 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3197, allocations: 11.95 kB / 0.5616 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3199, allocations: 90.31 kB / 0.5617 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3199, allocations: 0 / 0.5617 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3199, allocations: 3.938 kB / 0.5617 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3199, allocations: 8 kB / 0.5617 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3204, allocations: 321.6 kB / 0.562 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3204, allocations: 0 / 0.562 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.3205, allocations: 12 kB / 0.562 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3205, allocations: 7.922 kB / 0.562 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3205, allocations: 0 / 0.562 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3205, allocations: 0 / 0.562 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3205, allocations: 0 / 0.562 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3207, allocations: 179.4 kB / 0.5622 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.3208, allocations: 7.906 kB / 0.5622 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3208, allocations: 15.92 kB / 0.5622 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.3208, allocations: 0 / 0.5622 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3209, allocations: 8 kB / 0.5622 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3209, allocations: 3.984 kB / 0.5622 GB, free: 1.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.321, allocations: 131.2 kB / 0.5623 GB, free: 1.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.321, allocations: 0 / 0.5623 GB, free: 1.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3213, allocations: 19.94 kB / 0.5624 GB, free: 1.727 MB / 398.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.002261/0.3235, allocations: 1.057 MB / 0.5634 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3237, allocations: 39.97 kB / 0.5634 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3237, allocations: 4 kB / 0.5634 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.3238, allocations: 19.92 kB / 0.5634 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3242, allocations: 19.98 kB / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3261, allocations: 1.494 MB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.3261, allocations: 79.59 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.3262, allocations: 8 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.3262, allocations: 27.42 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3262, allocations: 0 / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.3559, allocations: 3.226 MB / 0.5682 GB, free: 11.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.82, allocations: 6.672 kB / 0.5682 GB, free: 11.86 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.970549027901143]