Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001422/0.001422, allocations: 117.2 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.001405/0.001405, allocations: 185 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.223/0.223, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003077/0.311, allocations: 1.626 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3124, allocations: 1.058 MB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.3124, allocations: 0.9062 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.3126, allocations: 33.2 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.3128, allocations: 42.59 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.3132, allocations: 170.2 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3134, allocations: 69.81 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3135, allocations: 16.7 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.3135, allocations: 26 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3137, allocations: 32.42 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3137, allocations: 3.594 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3138, allocations: 56.47 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.3138, allocations: 19.97 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.3139, allocations: 27.91 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3141, allocations: 99.05 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3141, allocations: 0 / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3141, allocations: 0 / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3141, allocations: 8.906 kB / 0.5217 GB, free: 1.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000429/0.3145, allocations: 405.4 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3145, allocations: 9.656 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.3146, allocations: 33.34 kB / 0.5221 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3146, allocations: 8.578 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3148, allocations: 193.7 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3148, allocations: 7.312 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3148, allocations: 6.578 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.315, allocations: 79.92 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.315, allocations: 0 / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.315, allocations: 5.312 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.315, allocations: 0 / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3152, allocations: 36.5 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.3155, allocations: 314.6 kB / 0.5227 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.3156, allocations: 42.23 kB / 0.5227 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.3157, allocations: 23.59 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3157, allocations: 1.625 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3158, allocations: 36.48 kB / 0.5228 GB, free: 20 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/0.3158, allocations: 4 kB / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000866/0.3166, allocations: 218.3 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3167, allocations: 82.92 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3169, allocations: 145.2 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3169, allocations: 33.64 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.317, allocations: 98.67 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.317, allocations: 24.55 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.3171, allocations: 20.67 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3172, allocations: 320.9 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3174, allocations: 42.17 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3175, allocations: 54.78 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.3177, allocations: 84.97 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3177, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002962/0.318, allocations: 125.3 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.318, allocations: 9.266 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.318, allocations: 4.219 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3181, allocations: 1.125 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3182, allocations: 19.98 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3182, allocations: 3.938 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.3182, allocations: 10.98 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3182, allocations: 1.094 kB / 0.524 GB, free: 15.1 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 (7): * Single equations (assignments): 7 * 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.0001054/0.3184, allocations: 117 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.3184, allocations: 17.36 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.3188, allocations: 140.6 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3188, allocations: 0.6562 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3188, allocations: 9.156 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3188, allocations: 0.7031 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.3194, allocations: 415.7 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3194, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.3195, allocations: 19.09 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3195, allocations: 5.281 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3195, allocations: 5.281 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3195, allocations: 0.6562 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3195, allocations: 0 / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3199, allocations: 218.9 kB / 0.525 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3199, allocations: 89.59 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3199, allocations: 10.09 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.32, allocations: 8.328 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.3201, allocations: 7.266 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-06/0.3201, allocations: 1.938 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.3202, allocations: 118.5 kB / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3202, allocations: 0 / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3205, allocations: 22.52 kB / 0.5252 GB, free: 14.18 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 (7): * Single equations (assignments): 7 * 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.002099/0.3225, allocations: 1.096 MB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.3229, allocations: 85.88 kB / 0.5264 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3229, allocations: 4 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.323, allocations: 48.89 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3234, allocations: 19.05 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3255, allocations: 1.6 MB / 0.528 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3259, allocations: 0.7001 MB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.688e-05/0.326, allocations: 25.77 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.326, allocations: 37.95 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.326, allocations: 0 / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3541, allocations: 3.128 MB / 0.5318 GB, free: 9.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.367, allocations: 17.67 kB / 0.5318 GB, free: 9.742 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches