Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001242/0.001242, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001189/0.00119, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2073/0.2073, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3312, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002661/0.3339, allocations: 1.622 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.3346, allocations: 443.8 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.3347, allocations: 1.094 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.3353, allocations: 447 kB / 0.5209 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.3357, allocations: 257 kB / 0.5211 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.3361, allocations: 178.3 kB / 0.5213 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3364, allocations: 162.6 kB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3365, allocations: 19.31 kB / 0.5215 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3367, allocations: 107.8 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3369, allocations: 214.9 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.337, allocations: 3.562 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.3371, allocations: 34.53 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3372, allocations: 82.58 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.3372, allocations: 104.6 kB / 0.522 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.3376, allocations: 259.7 kB / 0.5222 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3376, allocations: 3.938 kB / 0.5222 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3376, allocations: 0 / 0.5222 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3376, allocations: 5.438 kB / 0.5223 GB, free: 1.441 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.0005959/0.3382, allocations: 0.6582 MB / 0.5229 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3383, allocations: 9.438 kB / 0.5229 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.3383, allocations: 32.06 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.3383, allocations: 42.75 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3386, allocations: 305.9 kB / 0.5233 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3386, allocations: 5.75 kB / 0.5233 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3386, allocations: 5.531 kB / 0.5233 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3387, allocations: 62.11 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3388, allocations: 5.156 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.3388, allocations: 0 / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3388, allocations: 1.875 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.3389, allocations: 27.06 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.3393, allocations: 396.2 kB / 0.5237 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3395, allocations: 51.7 kB / 0.5238 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.3396, allocations: 19.31 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.3396, allocations: 0 / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.3396, allocations: 31.17 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3396, allocations: 2.219 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006164/0.3403, allocations: 238.5 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3403, allocations: 51.41 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.3412, allocations: 0.8733 MB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3412, allocations: 25.7 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3414, allocations: 226.5 kB / 0.5252 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3415, allocations: 15.75 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3415, allocations: 19.94 kB / 0.5252 GB, free: 15.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3417, allocations: 362.1 kB / 0.5256 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3418, allocations: 27.72 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.3419, allocations: 21.58 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.342, allocations: 60.06 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.342, allocations: 0 / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002247/0.3423, allocations: 121.8 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3423, allocations: 5.312 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3423, allocations: 8.453 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3423, allocations: 0 / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.3424, allocations: 12.88 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3424, allocations: 4.828 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.3425, allocations: 5.406 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3425, allocations: 2.25 kB / 0.5259 GB, free: 14.82 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 0.0002197/0.3427, allocations: 213 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.3428, allocations: 45.83 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.3431, allocations: 147.1 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3431, allocations: 5.359 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.3431, allocations: 3.938 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3431, allocations: 0.9375 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.3437, allocations: 468.9 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3437, allocations: 0 / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.3438, allocations: 17.61 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3438, allocations: 3.938 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3438, allocations: 1.375 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3438, allocations: 0 / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3438, allocations: 1.375 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3441, allocations: 222 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/0.3442, allocations: 110 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3443, allocations: 9 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.3443, allocations: 6.828 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3444, allocations: 6.625 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3444, allocations: 1.375 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006471/0.345, allocations: 0.6575 MB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3451, allocations: 0 / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.3454, allocations: 26.12 kB / 0.5277 GB, free: 13.54 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.002073/0.3475, allocations: 1.059 MB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3477, allocations: 50.88 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3477, allocations: 1.312 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.3478, allocations: 33.03 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3483, allocations: 21 kB / 0.5289 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.3525, allocations: 3.243 MB / 0.532 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.353, allocations: 0.8247 MB / 0.5328 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.821e-05/0.3531, allocations: 26.08 kB / 0.5329 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3533, allocations: 115.9 kB / 0.533 GB, free: 9.691 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3533, allocations: 0 / 0.533 GB, free: 9.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3817, allocations: 6.03 MB / 0.5389 GB, free: 6.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.878, allocations: 3.156 kB / 0.5389 GB, free: 6.637 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches