Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001578/0.001578, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001795/0.001795, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.496/1.496, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2341/0.2341, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4316, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002517/0.4341, allocations: 1.616 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4354, allocations: 1.053 MB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.4355, allocations: 1.281 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.4357, allocations: 31.27 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.4359, allocations: 46.45 kB / 0.5211 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.4363, allocations: 171.2 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.4364, allocations: 69.28 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4365, allocations: 27.62 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.4366, allocations: 25.22 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.4367, allocations: 27.88 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.4368, allocations: 4.125 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4369, allocations: 55.67 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.4369, allocations: 17.56 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.437, allocations: 39.67 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4372, allocations: 98.17 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4372, allocations: 0.6562 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4372, allocations: 0 / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.4372, allocations: 1.031 kB / 0.5216 GB, free: 1.141 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.0004231/0.4377, allocations: 404.6 kB / 0.522 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4377, allocations: 10.12 kB / 0.522 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.4377, allocations: 32.73 kB / 0.5221 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.4378, allocations: 13.31 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.438, allocations: 197.1 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.438, allocations: 2.281 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.438, allocations: 7.516 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4382, allocations: 83.36 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4383, allocations: 0 / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4383, allocations: 1.344 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4383, allocations: 1.953 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.4385, allocations: 39.16 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.4389, allocations: 310 kB / 0.5227 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.4391, allocations: 46.88 kB / 0.5227 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.4392, allocations: 25.61 kB / 0.5228 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.4392, allocations: 5.703 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.4392, allocations: 31.69 kB / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4392, allocations: 0 / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008844/0.4401, allocations: 227 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4402, allocations: 78.86 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4404, allocations: 141 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.4404, allocations: 26.36 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.4405, allocations: 98.22 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.4405, allocations: 25.09 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.4406, allocations: 24.38 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4407, allocations: 319.6 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.4409, allocations: 42.58 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.441, allocations: 56.12 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.4413, allocations: 86.22 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4413, allocations: 32 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00031/0.4416, allocations: 126.4 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4416, allocations: 6.078 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4416, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4417, allocations: 1.625 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4418, allocations: 26.34 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4418, allocations: 6.016 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.4419, allocations: 12.7 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.4419, allocations: 6 kB / 0.5241 GB, free: 15.09 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.0001154/0.442, allocations: 121.6 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.4421, allocations: 8.234 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.4424, allocations: 132.7 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4425, allocations: 5.094 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4425, allocations: 9.062 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4425, allocations: 0.75 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.4431, allocations: 408.5 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4431, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.4432, allocations: 18.36 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4432, allocations: 5.062 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4432, allocations: 6.312 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4432, allocations: 80 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4432, allocations: 9.484 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.4435, allocations: 215 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.4436, allocations: 96.56 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4436, allocations: 2.766 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.4437, allocations: 13.41 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.4438, allocations: 4.516 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4438, allocations: 5.719 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.4439, allocations: 109.7 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.993e-06/0.4439, allocations: 0 / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4441, allocations: 31.84 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.001588/0.4457, allocations: 1.088 MB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.4461, allocations: 94.62 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4461, allocations: 1.312 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4463, allocations: 49.19 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.0003892/0.4467, allocations: 22.97 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.001934/0.4486, allocations: 1.596 MB / 0.528 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.4489, allocations: 0.6955 MB / 0.5287 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.449, allocations: 33.98 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.4491, allocations: 26.27 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4491, allocations: 0 / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4726, allocations: 3.131 MB / 0.5318 GB, free: 9.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.286, allocations: 18.83 kB / 0.5318 GB, free: 9.742 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches