Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001352/0.001352, allocations: 113.2 kB / 17.78 MB, free: 5.277 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.001484/0.001484, allocations: 185 kB / 18.72 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.477/1.477, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2265/0.2265, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4093, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002927/0.4123, allocations: 1.644 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.413, allocations: 450 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.4131, allocations: 1.188 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.4138, allocations: 450.3 kB / 0.5209 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.4142, allocations: 254.2 kB / 0.5212 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.4147, allocations: 174.1 kB / 0.5213 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.415, allocations: 173.1 kB / 0.5215 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4151, allocations: 22.34 kB / 0.5215 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.4153, allocations: 108 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.4156, allocations: 215.1 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.4156, allocations: 4.031 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.4158, allocations: 55.59 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4159, allocations: 83.48 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.416, allocations: 104.3 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.4164, allocations: 271 kB / 0.5223 GB, free: 1.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4164, allocations: 1.734 kB / 0.5223 GB, free: 1.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4164, allocations: 3.938 kB / 0.5223 GB, free: 1.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.4164, allocations: 4 kB / 0.5223 GB, free: 1.395 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.0007221/0.4172, allocations: 0.6637 MB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4172, allocations: 10.52 kB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.4173, allocations: 33.45 kB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.4173, allocations: 47 kB / 0.5231 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.4176, allocations: 309.1 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4176, allocations: 3.406 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.4176, allocations: 3.719 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4178, allocations: 64.28 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4178, allocations: 1.719 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4178, allocations: 4 kB / 0.5234 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4178, allocations: 2.109 kB / 0.5234 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.418, allocations: 32.19 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.4185, allocations: 414.3 kB / 0.5239 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4186, allocations: 52.84 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.4186, allocations: 19.06 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4187, allocations: 2.016 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.4187, allocations: 31.22 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4187, allocations: 1.125 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000986/0.4197, allocations: 325.2 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4198, allocations: 56.72 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4208, allocations: 0.8657 MB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.4208, allocations: 25.7 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.421, allocations: 231.9 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.421, allocations: 28.59 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.4211, allocations: 26.34 kB / 0.5255 GB, free: 15.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4213, allocations: 367 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.4214, allocations: 33.42 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.4214, allocations: 28.56 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4216, allocations: 72.47 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4216, allocations: 0 / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002914/0.4219, allocations: 156.7 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.422, allocations: 6.938 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.422, allocations: 1.891 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.422, allocations: 3.984 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4221, allocations: 29.17 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4221, allocations: 1.375 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.4222, allocations: 9.531 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4222, allocations: 2.172 kB / 0.5261 GB, free: 14.68 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 (8): * Single equations (assignments): 8 * 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.0002139/0.4224, allocations: 218.9 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.4225, allocations: 41.59 kB / 0.5264 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.4228, allocations: 171.5 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4229, allocations: 5.312 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4229, allocations: 0 / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4229, allocations: 1.375 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.4236, allocations: 0.5271 MB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4236, allocations: 0 / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.4236, allocations: 14.09 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4236, allocations: 1.656 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4237, allocations: 5.016 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.4237, allocations: 5.219 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4237, allocations: 0 / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.424, allocations: 251.4 kB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.4241, allocations: 122.5 kB / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.4241, allocations: 1.438 kB / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.4242, allocations: 4.125 kB / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.4243, allocations: 11.36 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4243, allocations: 6.281 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006881/0.425, allocations: 0.6509 MB / 0.5281 GB, free: 13.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.425, allocations: 0 / 0.5281 GB, free: 13.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.4253, allocations: 33.02 kB / 0.5281 GB, free: 13.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001557/0.4268, allocations: 1.144 MB / 0.5293 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.4271, allocations: 76.27 kB / 0.5293 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4271, allocations: 0 / 0.5293 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4272, allocations: 44.16 kB / 0.5294 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.4277, allocations: 26.39 kB / 0.5294 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.4315, allocations: 3.349 MB / 0.5327 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.432, allocations: 0.8351 MB / 0.5335 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.242e-05/0.4321, allocations: 30.53 kB / 0.5335 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.4322, allocations: 117.3 kB / 0.5336 GB, free: 9.305 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4322, allocations: 0 / 0.5336 GB, free: 9.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.456, allocations: 6.386 MB / 0.5399 GB, free: 5.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.519, allocations: 5.094 kB / 0.5399 GB, free: 5.988 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches