Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.001738/0.001738, allocations: 112.8 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.001803/0.001803, allocations: 184.1 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.406/1.406, 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.2175/0.2175, allocations: 44.2 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.348, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003229/0.3513, allocations: 1.57 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.3521, allocations: 408.6 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.3521, allocations: 1.562 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.3524, allocations: 25.38 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.3526, allocations: 40.62 kB / 0.5204 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3529, allocations: 103.2 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.3531, allocations: 60.06 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3532, allocations: 7.625 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.3532, allocations: 22.53 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.3533, allocations: 23.92 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3533, allocations: 2.688 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.3534, allocations: 33.73 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.3535, allocations: 15.5 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.3535, allocations: 25.25 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3537, allocations: 79.3 kB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3537, allocations: 0 / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3537, allocations: 0 / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3537, allocations: 0 / 0.5208 GB, free: 1.719 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.0004209/0.3542, allocations: 383.3 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3542, allocations: 13.31 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.3543, allocations: 32.83 kB / 0.5212 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3543, allocations: 8.828 kB / 0.5212 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3545, allocations: 186.3 kB / 0.5214 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3545, allocations: 1.781 kB / 0.5214 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3545, allocations: 2.312 kB / 0.5214 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3546, allocations: 53.64 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3547, allocations: 1.125 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3547, allocations: 0 / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3547, allocations: 8.844 kB / 0.5214 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.3548, allocations: 23.55 kB / 0.5215 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3552, allocations: 284.2 kB / 0.5217 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.3554, allocations: 42.69 kB / 0.5218 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.3554, allocations: 22.47 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3555, allocations: 4.891 kB / 0.5218 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3555, allocations: 36.03 kB / 0.5218 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.3555, allocations: 0 / 0.5218 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005835/0.3561, allocations: 152 kB / 0.522 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.3561, allocations: 51.41 kB / 0.522 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3563, allocations: 160.6 kB / 0.5222 GB, free: 400 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.3563, allocations: 25.7 kB / 0.5222 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3563, allocations: 97.45 kB / 0.5223 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.3564, allocations: 16.06 kB / 0.5223 GB, free: 260 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3564, allocations: 18.84 kB / 0.5223 GB, free: 240 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3566, allocations: 323.8 kB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.3566, allocations: 21.08 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.3567, allocations: 24.28 kB / 0.5227 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3569, allocations: 52.59 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3569, allocations: 0 / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/0.3571, allocations: 89.64 kB / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3571, allocations: 4.469 kB / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3571, allocations: 0 / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3571, allocations: 1.547 kB / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.3572, allocations: 11.59 kB / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3572, allocations: 5.906 kB / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.3573, allocations: 12.08 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3573, allocations: 1.656 kB / 0.5229 GB, free: 15.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.0001018/0.3574, allocations: 118.5 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3574, allocations: 7.031 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3577, allocations: 98.75 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3577, allocations: 6.922 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3577, allocations: 0 / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3578, allocations: 4.594 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.3583, allocations: 352.9 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3583, allocations: 1.312 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.3583, allocations: 15.84 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3583, allocations: 5.219 kB / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3584, allocations: 3.938 kB / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3584, allocations: 6.156 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3584, allocations: 0 / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3587, allocations: 181.1 kB / 0.5236 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3587, allocations: 84.03 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3587, allocations: 4.688 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.3588, allocations: 4.625 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3589, allocations: 5.109 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3589, allocations: 8.594 kB / 0.5237 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.359, allocations: 119.4 kB / 0.5238 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.359, allocations: 0 / 0.5238 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3592, allocations: 14.38 kB / 0.5239 GB, free: 14.94 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.001939/0.3612, allocations: 1.017 MB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3614, allocations: 52.28 kB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3614, allocations: 1.312 kB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.3615, allocations: 29.48 kB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3619, allocations: 17.42 kB / 0.5249 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3638, allocations: 1.467 MB / 0.5264 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3641, allocations: 0.694 MB / 0.5271 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7e-05/0.3642, allocations: 14.25 kB / 0.5271 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.3643, allocations: 25.91 kB / 0.5271 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3643, allocations: 1.688 kB / 0.5271 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3906, allocations: 2.529 MB / 0.5296 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.216, allocations: 20.94 kB / 0.5296 GB, free: 11.18 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches