Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 118.4 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003738/0.3294, allocations: 1.57 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.3303, allocations: 399.8 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.3305, allocations: 5.031 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.3307, allocations: 28.78 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.331, allocations: 35.14 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.3314, allocations: 107.2 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.3316, allocations: 55.44 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3318, allocations: 13.06 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.3319, allocations: 27.23 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.3319, allocations: 19.31 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.332, allocations: 2.281 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3321, allocations: 34 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.3322, allocations: 14.69 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.3322, allocations: 24.83 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3325, allocations: 72.34 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3325, allocations: 1.25 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3325, allocations: 0 / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3326, allocations: 0 / 0.5208 GB, free: 1.727 MB / 382.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.0005626/0.3331, allocations: 382 kB / 0.5211 GB, free: 1.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3332, allocations: 9.25 kB / 0.5212 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3332, allocations: 33.11 kB / 0.5212 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.3333, allocations: 7.766 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3335, allocations: 189.9 kB / 0.5214 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3335, allocations: 5.656 kB / 0.5214 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3336, allocations: 1.594 kB / 0.5214 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3337, allocations: 55.27 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3338, allocations: 0 / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3338, allocations: 4 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3338, allocations: 1.156 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3339, allocations: 23.31 kB / 0.5215 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3344, allocations: 279.2 kB / 0.5217 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.3347, allocations: 46.67 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.3347, allocations: 22.12 kB / 0.5218 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.3348, allocations: 2.094 kB / 0.5218 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3348, allocations: 31.22 kB / 0.5218 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3348, allocations: 1.406 kB / 0.5218 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007239/0.3355, allocations: 145.2 kB / 0.522 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3356, allocations: 56.47 kB / 0.522 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3358, allocations: 143.1 kB / 0.5222 GB, free: 420 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3358, allocations: 26.67 kB / 0.5222 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.3359, allocations: 96.53 kB / 0.5223 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3359, allocations: 15.97 kB / 0.5223 GB, free: 280 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.336, allocations: 18.61 kB / 0.5223 GB, free: 260 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3361, allocations: 323.6 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.3362, allocations: 21 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.3363, allocations: 24.78 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3364, allocations: 59.25 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3364, allocations: 0 / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002241/0.3367, allocations: 81.62 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3367, allocations: 5.281 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3367, allocations: 9.25 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3367, allocations: 0.8438 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.3368, allocations: 19.27 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3368, allocations: 2.125 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.3369, allocations: 4.562 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3369, allocations: 5.094 kB / 0.5228 GB, free: 15.83 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 9.813e-05/0.337, allocations: 120.6 kB / 0.5229 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.337, allocations: 7.109 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3373, allocations: 102.5 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3373, allocations: 1.219 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3373, allocations: 0 / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3373, allocations: 1.719 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.3378, allocations: 352.2 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3378, allocations: 0 / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.3378, allocations: 11.7 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3379, allocations: 1.688 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3379, allocations: 4 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3379, allocations: 5.812 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3379, allocations: 192 / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3381, allocations: 180.6 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.3382, allocations: 88.56 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3382, allocations: 4.609 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.3383, allocations: 9.516 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.3383, allocations: 7.641 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3383, allocations: 1.312 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3384, allocations: 109.5 kB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3384, allocations: 0 / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3387, allocations: 15.72 kB / 0.5238 GB, free: 14.96 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.001458/0.3402, allocations: 1.013 MB / 0.5248 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3404, allocations: 52.08 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3404, allocations: 1.406 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.3405, allocations: 25.48 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.341, allocations: 23.31 kB / 0.5249 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3426, allocations: 1.434 MB / 0.5263 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3428, allocations: 0.6944 MB / 0.527 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.3429, allocations: 12.11 kB / 0.527 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3429, allocations: 20.78 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.343, allocations: 5.469 kB / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.3624, allocations: 2.481 MB / 0.5294 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.07, allocations: 5.219 kB / 0.5294 GB, free: 11.25 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches