Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001136/0.001136, allocations: 109.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.001072/0.001072, allocations: 179.9 kB / 18.71 MB, free: 4.355 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.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.204/0.204, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002589/0.3739, allocations: 1.588 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.3746, allocations: 405 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.3747, allocations: 4.938 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3749, allocations: 69.02 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3752, allocations: 63.38 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3754, allocations: 89.45 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.3756, allocations: 73.83 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3757, allocations: 18.45 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.3758, allocations: 38.23 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3759, allocations: 52.94 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3759, allocations: 3.594 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.376, allocations: 44.22 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.3761, allocations: 18.02 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3761, allocations: 34.28 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.3763, allocations: 94.92 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3763, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3763, allocations: 0.5156 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3763, allocations: 5.594 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.0004495/0.3768, allocations: 417.6 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3768, allocations: 10.89 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.3769, allocations: 31.72 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3769, allocations: 11.2 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3771, allocations: 192.8 kB / 0.5216 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.3771, allocations: 2.594 kB / 0.5216 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3771, allocations: 10.44 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3773, allocations: 56.39 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3773, allocations: 0.7969 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3773, allocations: 5.156 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3773, allocations: 0 / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.3774, allocations: 25.25 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.3778, allocations: 298 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3779, allocations: 46.12 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.3779, allocations: 23.47 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.378, allocations: 1 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.378, allocations: 32.44 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.378, allocations: 0 / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008501/0.3789, allocations: 230.9 kB / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3789, allocations: 56.44 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3791, allocations: 206.4 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.3791, allocations: 26.77 kB / 0.5226 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.3791, allocations: 101.1 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3792, allocations: 29.19 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3792, allocations: 20.39 kB / 0.5227 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3794, allocations: 325.8 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3794, allocations: 27.12 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.3795, allocations: 22.97 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3797, allocations: 71.31 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3797, allocations: 0 / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002082/0.3799, allocations: 101.8 kB / 0.5232 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3799, allocations: 5.594 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3799, allocations: 0 / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3799, allocations: 1.062 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.38, allocations: 17.25 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3801, allocations: 5.062 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.3801, allocations: 4.578 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3801, allocations: 2.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.0001047/0.3802, allocations: 134.8 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.3803, allocations: 13.8 kB / 0.5234 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3805, allocations: 110.2 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3806, allocations: 1.281 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3806, allocations: 3.938 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3806, allocations: 0.7969 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.3811, allocations: 408.2 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3811, allocations: 7.875 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.3812, allocations: 25.09 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3812, allocations: 1.906 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3812, allocations: 1.656 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3812, allocations: 5.219 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3812, allocations: 0 / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3815, allocations: 202.9 kB / 0.5242 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.3816, allocations: 88.84 kB / 0.5242 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3816, allocations: 1.672 kB / 0.5242 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.3817, allocations: 13.75 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.3818, allocations: 9.469 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3818, allocations: 2.469 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3819, allocations: 157 kB / 0.5244 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3819, allocations: 4 kB / 0.5244 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3822, allocations: 23.09 kB / 0.5244 GB, free: 14.71 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.001443/0.3837, allocations: 1.088 MB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3839, allocations: 63.77 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3839, allocations: 0 / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.384, allocations: 39.11 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3844, allocations: 24.47 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3864, allocations: 1.637 MB / 0.5272 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3867, allocations: 0.7141 MB / 0.5279 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.3868, allocations: 13.48 kB / 0.5279 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.3869, allocations: 32.53 kB / 0.528 GB, free: 11.77 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3869, allocations: 0 / 0.528 GB, free: 11.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.408, allocations: 3.024 MB / 0.5309 GB, free: 10.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.132, allocations: 16.56 kB / 0.5309 GB, free: 10.47 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_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_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches