Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001082/0.001082, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00106/0.00106, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.407/1.407, 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.1978/0.1978, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3304, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003179/0.3336, allocations: 1.586 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.3345, allocations: 431.9 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3346, allocations: 1.031 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.3353, allocations: 454.5 kB / 0.5208 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.3357, allocations: 256.1 kB / 0.5211 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.3362, allocations: 170 kB / 0.5212 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.3366, allocations: 166.2 kB / 0.5214 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3367, allocations: 8.812 kB / 0.5214 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.337, allocations: 112.1 kB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.3374, allocations: 215.4 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3374, allocations: 2.219 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.3375, allocations: 24.39 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3376, allocations: 79.34 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.3377, allocations: 102.6 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.3382, allocations: 251.7 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3382, allocations: 0.6094 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.706e-06/0.3382, allocations: 1.312 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3382, allocations: 7.875 kB / 0.5222 GB, free: 1.473 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.0009047/0.3391, allocations: 0.6546 MB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3392, allocations: 11.81 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3392, allocations: 35.41 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.3393, allocations: 42.91 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.3395, allocations: 300.7 kB / 0.5232 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3396, allocations: 1.031 kB / 0.5232 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3396, allocations: 6.875 kB / 0.5232 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3398, allocations: 53.94 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3398, allocations: 5.312 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3398, allocations: 3.938 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3398, allocations: 1.281 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3399, allocations: 31.83 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.3404, allocations: 394.8 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3406, allocations: 48.14 kB / 0.5237 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.3407, allocations: 29.45 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3407, allocations: 3.938 kB / 0.5237 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3407, allocations: 31.45 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3407, allocations: 1.812 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003354/0.3411, allocations: 127.9 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3411, allocations: 55.41 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3422, allocations: 0.8588 MB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3422, allocations: 25.7 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3424, allocations: 217.3 kB / 0.525 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3424, allocations: 5.641 kB / 0.525 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3425, allocations: 17 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3427, allocations: 362.2 kB / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.3427, allocations: 21.88 kB / 0.5254 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.3428, allocations: 23.58 kB / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3429, allocations: 47.67 kB / 0.5255 GB, free: 15.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.343, allocations: 5.188 kB / 0.5255 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002202/0.3432, allocations: 109.6 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3432, allocations: 6.094 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3432, allocations: 0 / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3432, allocations: 5.344 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.3433, allocations: 8.953 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3433, allocations: 0 / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.3434, allocations: 6.25 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3434, allocations: 1.406 kB / 0.5256 GB, free: 14.96 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 (3): * Single equations (assignments): 3 * 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.0002002/0.3436, allocations: 215.6 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3437, allocations: 41.59 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.344, allocations: 133.5 kB / 0.526 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.344, allocations: 6.109 kB / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.344, allocations: 0 / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.344, allocations: 0 / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.3443, allocations: 291.5 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3444, allocations: 0.5625 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.3444, allocations: 8.984 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3444, allocations: 1.375 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3444, allocations: 0.7031 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3444, allocations: 0 / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3445, allocations: 9.312 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3447, allocations: 209.3 kB / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3449, allocations: 122.5 kB / 0.5266 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3449, allocations: 1.375 kB / 0.5266 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.345, allocations: 2.75 kB / 0.5266 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.345, allocations: 6.734 kB / 0.5266 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.345, allocations: 4 kB / 0.5266 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008039/0.3459, allocations: 0.6482 MB / 0.5272 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3459, allocations: 0 / 0.5272 GB, free: 13.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.3462, allocations: 23.72 kB / 0.5273 GB, free: 13.86 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 (3): * Single equations (assignments): 3 * 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.001286/0.3474, allocations: 0.9885 MB / 0.5282 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3477, allocations: 43.8 kB / 0.5283 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3477, allocations: 5.5 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.3478, allocations: 20.45 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3482, allocations: 20.78 kB / 0.5283 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.3522, allocations: 3.179 MB / 0.5314 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3526, allocations: 0.8225 MB / 0.5322 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.3527, allocations: 24.14 kB / 0.5322 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.3529, allocations: 108 kB / 0.5323 GB, free: 10.08 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3529, allocations: 0 / 0.5323 GB, free: 10.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.377, allocations: 5.813 MB / 0.538 GB, free: 7.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.841, allocations: 17.62 kB / 0.538 GB, free: 7.113 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_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_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches