Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001391/0.001391, 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.001204/0.001205, allocations: 183 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.44/1.44, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.3141/0.3141, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 71.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4352, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003374/0.4387, allocations: 1.552 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.4395, allocations: 404.2 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.4395, allocations: 0 / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.4398, allocations: 21.08 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.44, allocations: 38.31 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.4403, allocations: 85.19 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.4404, allocations: 58.56 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4406, allocations: 11.72 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.4406, allocations: 18.61 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.4407, allocations: 19.73 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.4407, allocations: 2.688 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.4408, allocations: 36.95 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.4409, allocations: 10.38 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.4409, allocations: 20.44 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.4411, allocations: 76.89 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4411, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4412, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.4412, allocations: 5.125 kB / 0.5207 GB, free: 1.742 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.0004565/0.4416, allocations: 377.2 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4417, allocations: 9.516 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.4417, allocations: 32.42 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.4418, allocations: 8.359 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4419, allocations: 189.4 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4419, allocations: 1.5 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.442, allocations: 2.656 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.4421, allocations: 61.34 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4421, allocations: 0 / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4422, allocations: 5.156 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4422, allocations: 0 / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4423, allocations: 23.09 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.4426, allocations: 272.2 kB / 0.5217 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.4428, allocations: 48.06 kB / 0.5217 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.4429, allocations: 13.59 kB / 0.5217 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4429, allocations: 0.7031 kB / 0.5217 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.443, allocations: 40.19 kB / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.443, allocations: 1.031 kB / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005733/0.4435, allocations: 138.1 kB / 0.5219 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.4436, allocations: 52.44 kB / 0.522 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4437, allocations: 140.3 kB / 0.5221 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.4437, allocations: 26.8 kB / 0.5221 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.4438, allocations: 96.36 kB / 0.5222 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.4438, allocations: 15.77 kB / 0.5222 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.4438, allocations: 19.2 kB / 0.5222 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.444, allocations: 323.4 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.444, allocations: 22.48 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.4441, allocations: 18.91 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.4443, allocations: 43.48 kB / 0.5226 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4443, allocations: 3.938 kB / 0.5226 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001926/0.4445, allocations: 76.22 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4445, allocations: 5.344 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4445, allocations: 7.938 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4445, allocations: 1.344 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.4446, allocations: 12.05 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4446, allocations: 1.641 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.4447, allocations: 8.703 kB / 0.5227 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4447, allocations: 5.734 kB / 0.5228 GB, free: 15.86 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.0001091/0.4448, allocations: 115 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.4448, allocations: 7.469 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.4451, allocations: 94.12 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4451, allocations: 3.984 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4451, allocations: 5.531 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4451, allocations: 0.7031 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4456, allocations: 348.7 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4456, allocations: 1.125 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.4457, allocations: 15.41 kB / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4457, allocations: 1.156 kB / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4457, allocations: 2.016 kB / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4457, allocations: 3.938 kB / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4457, allocations: 0 / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.446, allocations: 173.3 kB / 0.5235 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.4461, allocations: 83.39 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.4461, allocations: 5.734 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.4462, allocations: 8.062 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.4462, allocations: 8.484 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4462, allocations: 2.156 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.4463, allocations: 112 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4463, allocations: 7.875 kB / 0.5237 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.4466, allocations: 10.53 kB / 0.5237 GB, free: 14.98 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.001972/0.4486, allocations: 1.003 MB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.4488, allocations: 48.22 kB / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4488, allocations: 0 / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.4489, allocations: 28.44 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4493, allocations: 17.66 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.451, allocations: 1.411 MB / 0.5262 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4514, allocations: 0.6961 MB / 0.5268 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.4515, allocations: 16.16 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.4515, allocations: 23.05 kB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4515, allocations: 0 / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.4775, allocations: 2.452 MB / 0.5293 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.316, allocations: 10.06 kB / 0.5293 GB, free: 11.33 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_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_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches