Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.001281/0.001281, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00126/0.00126, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.438/1.438, 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.2259/0.2259, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 67.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3282, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002554/0.3308, allocations: 1.562 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3321, allocations: 1.012 MB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.3321, allocations: 0 / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.3324, allocations: 28.28 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.3326, allocations: 42.11 kB / 0.521 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.3328, allocations: 91.58 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.333, allocations: 51.92 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.3331, allocations: 15.25 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.3331, allocations: 22.53 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3332, allocations: 25.42 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3333, allocations: 11.59 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3334, allocations: 50.09 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.3334, allocations: 13.16 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.3335, allocations: 16.59 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3337, allocations: 90.64 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3337, allocations: 0 / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3337, allocations: 0 / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3337, allocations: 1.094 kB / 0.5214 GB, free: 1.262 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.000366/0.334, allocations: 378.1 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3341, allocations: 9.766 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.3341, allocations: 44.94 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.3342, allocations: 7.484 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3343, allocations: 189.8 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.3343, allocations: 1.438 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3343, allocations: 3.203 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3345, allocations: 68.72 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3345, allocations: 8.953 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3345, allocations: 0.7031 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3345, allocations: 4.969 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.3346, allocations: 25.41 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.3349, allocations: 268.7 kB / 0.5224 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3351, allocations: 40.23 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.3351, allocations: 14.2 kB / 0.5224 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3352, allocations: 8.734 kB / 0.5224 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.3352, allocations: 39.66 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3352, allocations: 1.062 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005039/0.3357, allocations: 126.8 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3358, allocations: 82.14 kB / 0.5227 GB, free: 8 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3359, allocations: 143.3 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.336, allocations: 27.75 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.336, allocations: 95.34 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.336, allocations: 12.11 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3361, allocations: 18.8 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3362, allocations: 323.9 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.3363, allocations: 14.03 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.3364, allocations: 39.8 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3365, allocations: 41.94 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3365, allocations: 3.938 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.3367, allocations: 80.81 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3368, allocations: 6.062 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3368, allocations: 1.062 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3368, allocations: 4.031 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.3369, allocations: 20.8 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3369, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.3369, allocations: 5.172 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3369, allocations: 6.641 kB / 0.5235 GB, free: 15.3 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 8.804e-05/0.337, allocations: 113.6 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3371, allocations: 8.094 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.3373, allocations: 92.06 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3373, allocations: 1.156 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3373, allocations: 4.562 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3373, allocations: 1.375 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3378, allocations: 342.8 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3378, allocations: 0 / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.3378, allocations: 12.89 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3378, allocations: 0 / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3379, allocations: 5.984 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3379, allocations: 7.922 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3379, allocations: 4.453 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3381, allocations: 172.9 kB / 0.5242 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3382, allocations: 83.84 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3382, allocations: 0.6562 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.3383, allocations: 17.77 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3383, allocations: 3.344 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3383, allocations: 2.312 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.3384, allocations: 102.9 kB / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3384, allocations: 0 / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3387, allocations: 24.55 kB / 0.5244 GB, free: 14.43 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.001963/0.3407, allocations: 1.053 MB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3409, allocations: 45.19 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3409, allocations: 4 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.341, allocations: 26.5 kB / 0.5255 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3413, allocations: 19.73 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.3429, allocations: 1.378 MB / 0.5269 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3433, allocations: 0.6938 MB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.3433, allocations: 13.34 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.3434, allocations: 24.27 kB / 0.5276 GB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3434, allocations: 0 / 0.5276 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.3693, allocations: 2.753 MB / 0.5303 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.146, allocations: 12.27 kB / 0.5303 GB, free: 10.51 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches