Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26",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.001278/0.001278, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001222/0.001222, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.383/1.383, 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.2198/0.2198, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3277, allocations: 60.82 MB / 0.5185 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002556/0.3303, allocations: 1.643 MB / 0.5201 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.3309, allocations: 424.8 kB / 0.5205 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.331, allocations: 1.094 kB / 0.5205 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.3312, allocations: 60 kB / 0.5205 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.3314, allocations: 55.95 kB / 0.5206 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.3317, allocations: 129 kB / 0.5207 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3319, allocations: 75.77 kB / 0.5208 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.332, allocations: 22.42 kB / 0.5208 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.332, allocations: 30.91 kB / 0.5208 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.3321, allocations: 45.17 kB / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3321, allocations: 3.656 kB / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.3322, allocations: 52.19 kB / 0.5209 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.3323, allocations: 28.42 kB / 0.5209 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.3323, allocations: 27.25 kB / 0.521 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3325, allocations: 108.4 kB / 0.5211 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3325, allocations: 0 / 0.5211 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3325, allocations: 0 / 0.5211 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3326, allocations: 5.344 kB / 0.5211 GB, free: 1.852 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004217/0.333, allocations: 414.4 kB / 0.5215 GB, free: 1.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.333, allocations: 9.938 kB / 0.5215 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.3331, allocations: 41.47 kB / 0.5215 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3331, allocations: 13.03 kB / 0.5215 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3332, allocations: 194.1 kB / 0.5217 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3333, allocations: 6.625 kB / 0.5217 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3333, allocations: 7.359 kB / 0.5217 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3334, allocations: 64.95 kB / 0.5218 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3335, allocations: 0 / 0.5218 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3335, allocations: 0 / 0.5218 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3335, allocations: 5.484 kB / 0.5218 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3336, allocations: 47.41 kB / 0.5218 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.334, allocations: 304.8 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.3342, allocations: 58.45 kB / 0.5222 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.3343, allocations: 28.17 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3343, allocations: 5.75 kB / 0.5222 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.3343, allocations: 36.17 kB / 0.5223 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3343, allocations: 0 / 0.5223 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00139/0.3357, allocations: 387.2 kB / 0.5226 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.3357, allocations: 52.88 kB / 0.5227 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3359, allocations: 193.6 kB / 0.5229 GB, free: 412 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.3359, allocations: 25.7 kB / 0.5229 GB, free: 380 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.336, allocations: 104.4 kB / 0.523 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.336, allocations: 35.08 kB / 0.523 GB, free: 252 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.3361, allocations: 27.45 kB / 0.523 GB, free: 228 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3362, allocations: 321.5 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3363, allocations: 40.2 kB / 0.5234 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3364, allocations: 43.27 kB / 0.5234 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.3367, allocations: 101.6 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3367, allocations: 1.125 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003339/0.3371, allocations: 141.8 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3371, allocations: 8.625 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3371, allocations: 4 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3371, allocations: 5.938 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3372, allocations: 29.27 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3373, allocations: 0 / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.3373, allocations: 10.55 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3373, allocations: 6.188 kB / 0.5237 GB, free: 15.77 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 (11): * Single equations (assignments): 11 * 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.0001146/0.3375, allocations: 121.3 kB / 0.5238 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3375, allocations: 14.11 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.338, allocations: 177 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.338, allocations: 6.469 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.338, allocations: 0 / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.338, allocations: 4.797 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.3388, allocations: 471 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3388, allocations: 1 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3389, allocations: 30.53 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3389, allocations: 6.781 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3389, allocations: 0.6094 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.339, allocations: 1.625 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.339, allocations: 2.438 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.3394, allocations: 263.5 kB / 0.5248 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3395, allocations: 87.55 kB / 0.5249 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3395, allocations: 2.281 kB / 0.5249 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3396, allocations: 17.05 kB / 0.5249 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.3397, allocations: 7.969 kB / 0.5249 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.3397, allocations: 4.766 kB / 0.5249 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.3399, allocations: 142.7 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3399, allocations: 0 / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3401, allocations: 27.89 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002329/0.3425, allocations: 1.14 MB / 0.5262 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.3428, allocations: 105.3 kB / 0.5263 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3428, allocations: 0 / 0.5263 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.343, allocations: 63.11 kB / 0.5263 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3434, allocations: 20.17 kB / 0.5264 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.3459, allocations: 1.783 MB / 0.5281 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3463, allocations: 0.7088 MB / 0.5288 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.3464, allocations: 19.14 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.3465, allocations: 35.91 kB / 0.5288 GB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3465, allocations: 0 / 0.5288 GB, free: 11.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3713, allocations: 3.304 MB / 0.5321 GB, free: 10.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.472, allocations: 6.516 kB / 0.5321 GB, free: 10.08 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches