Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001444/0.001444, allocations: 112.8 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.00152/0.001521, allocations: 180.9 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2649/0.2649, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4277, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002715/0.4305, allocations: 1.57 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.4313, allocations: 396.1 kB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.4314, allocations: 1.562 kB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.4317, allocations: 24.16 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.4319, allocations: 38.75 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.4322, allocations: 88.42 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.4324, allocations: 50.73 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4325, allocations: 16.27 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.4326, allocations: 18.31 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.4327, allocations: 16.47 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4327, allocations: 6.938 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.4328, allocations: 36.75 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.4329, allocations: 18.66 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.4329, allocations: 16.03 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.4331, allocations: 71.56 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4331, allocations: 1.344 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4331, allocations: 0 / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4331, allocations: 0 / 0.5207 GB, free: 1.762 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.0005231/0.4337, allocations: 379.6 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4337, allocations: 9.156 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.4338, allocations: 36.48 kB / 0.5211 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.4338, allocations: 8.656 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.434, allocations: 190.2 kB / 0.5213 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.434, allocations: 1.375 kB / 0.5213 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.434, allocations: 2.594 kB / 0.5213 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4342, allocations: 53.59 kB / 0.5214 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4342, allocations: 0 / 0.5214 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.4342, allocations: 3.938 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4342, allocations: 1.062 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.4343, allocations: 26.5 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.4346, allocations: 280.3 kB / 0.5217 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.4348, allocations: 39.53 kB / 0.5217 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.4349, allocations: 17.92 kB / 0.5217 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.4349, allocations: 1.656 kB / 0.5217 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.435, allocations: 35.53 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.435, allocations: 0 / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005295/0.4355, allocations: 144.3 kB / 0.5219 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.4355, allocations: 52.2 kB / 0.522 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4357, allocations: 142.7 kB / 0.5221 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.4357, allocations: 25.7 kB / 0.5221 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.4357, allocations: 101.8 kB / 0.5222 GB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.4357, allocations: 15.31 kB / 0.5222 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.4358, allocations: 19.23 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.4359, allocations: 322.9 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.4359, allocations: 22.62 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.436, allocations: 18.19 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4362, allocations: 46.61 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4362, allocations: 1.312 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002048/0.4364, allocations: 79.66 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4364, allocations: 5.656 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4364, allocations: 4.734 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4364, allocations: 1.188 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.4365, allocations: 16.44 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4365, allocations: 0.75 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.4365, allocations: 8.312 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4366, allocations: 5.156 kB / 0.5228 GB, free: 15.87 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 9.361e-05/0.4367, allocations: 116 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4367, allocations: 7.078 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.4369, allocations: 85.16 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4369, allocations: 1.688 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.437, allocations: 0 / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.437, allocations: 5.859 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.4374, allocations: 344.8 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4374, allocations: 5.188 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.4375, allocations: 11.56 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4375, allocations: 1 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.4375, allocations: 1.031 kB / 0.5233 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.4375, allocations: 4.688 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4375, allocations: 1.156 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4378, allocations: 184.7 kB / 0.5235 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.4378, allocations: 82.91 kB / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.4379, allocations: 1.125 kB / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.4379, allocations: 9.594 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.438, allocations: 7.156 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.438, allocations: 1.625 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.4381, allocations: 113.7 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4381, allocations: 0 / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.4383, allocations: 10.73 kB / 0.5237 GB, free: 15 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.001897/0.4402, allocations: 1.009 MB / 0.5247 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4405, allocations: 47.83 kB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4405, allocations: 1.406 kB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.4406, allocations: 23.92 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.4409, allocations: 17.11 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.4427, allocations: 1.415 MB / 0.5262 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4431, allocations: 0.6953 MB / 0.5268 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.4431, allocations: 6.078 kB / 0.5269 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.4432, allocations: 22 kB / 0.5269 GB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4432, allocations: 0 / 0.5269 GB, free: 12.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.4676, allocations: 2.457 MB / 0.5293 GB, free: 11.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.354, allocations: 5.531 kB / 0.5293 GB, free: 11.37 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_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_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches