Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.001527/0.001533, allocations: 118.4 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.001503/0.001503, allocations: 183 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.428/1.428, 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.2219/0.2219, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4033, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002593/0.406, allocations: 1.581 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006868/0.4067, allocations: 410.1 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.4067, allocations: 1.281 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.407, allocations: 72.41 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.4073, allocations: 71.19 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.4076, allocations: 85.33 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.4077, allocations: 76.92 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4079, allocations: 15.66 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.4079, allocations: 32.73 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.408, allocations: 58.56 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.4081, allocations: 2.406 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.804e-05/0.4082, allocations: 47.91 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.4082, allocations: 19.11 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.4083, allocations: 30.03 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4085, allocations: 95.17 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4085, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.4085, allocations: 0.5156 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4085, allocations: 4.938 kB / 0.521 GB, free: 1.676 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.0004316/0.4089, allocations: 410.9 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.409, allocations: 18.09 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.409, allocations: 36.41 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.4091, allocations: 10.33 kB / 0.5214 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.4093, allocations: 196.9 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4093, allocations: 2.375 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4093, allocations: 6.375 kB / 0.5216 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4095, allocations: 56.61 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4095, allocations: 0.6094 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.4095, allocations: 1.188 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4095, allocations: 4 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4096, allocations: 25.64 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.41, allocations: 293.3 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4101, allocations: 43.52 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.4102, allocations: 14.61 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4102, allocations: 5.188 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.4102, allocations: 36.38 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4102, allocations: 0 / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008946/0.4111, allocations: 222.7 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.4112, allocations: 68.75 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4114, allocations: 207 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4114, allocations: 25.7 kB / 0.5226 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.4114, allocations: 104.6 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4115, allocations: 34.33 kB / 0.5227 GB, free: 108 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.4115, allocations: 20.48 kB / 0.5227 GB, free: 88 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4117, allocations: 321.6 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.4118, allocations: 26.72 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.4118, allocations: 27.5 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.412, allocations: 58.72 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.412, allocations: 0 / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.4122, allocations: 93.78 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4123, allocations: 9.438 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4123, allocations: 0.7031 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4123, allocations: 5.188 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.4124, allocations: 16.16 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4124, allocations: 5.859 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.4125, allocations: 8.828 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4125, allocations: 1.312 kB / 0.5233 GB, free: 15.67 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.000105/0.4126, allocations: 123.4 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4126, allocations: 13.28 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.4129, allocations: 129.8 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4129, allocations: 1.281 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4129, allocations: 3.938 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.4129, allocations: 5.641 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.4135, allocations: 403.7 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4135, allocations: 4.969 kB / 0.5239 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.4136, allocations: 20.75 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4136, allocations: 1.094 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4136, allocations: 1.781 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4136, allocations: 1.031 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4136, allocations: 1.25 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4139, allocations: 203.4 kB / 0.5242 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.414, allocations: 92.2 kB / 0.5242 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.414, allocations: 1.719 kB / 0.5242 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.4141, allocations: 9.109 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4141, allocations: 13.61 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4141, allocations: 4.031 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.4143, allocations: 155.3 kB / 0.5244 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4143, allocations: 0 / 0.5244 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.4146, allocations: 19.42 kB / 0.5244 GB, free: 14.72 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.002151/0.4167, allocations: 1.093 MB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.417, allocations: 60.22 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.417, allocations: 0 / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.4171, allocations: 38.28 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.4175, allocations: 15.06 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.4196, allocations: 1.653 MB / 0.5272 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.4199, allocations: 0.7065 MB / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.42, allocations: 11.89 kB / 0.5279 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.4201, allocations: 34.2 kB / 0.528 GB, free: 11.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4201, allocations: 0 / 0.528 GB, free: 11.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.4445, allocations: 3.019 MB / 0.5309 GB, free: 10.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.265, allocations: 16.88 kB / 0.5309 GB, free: 10.48 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches