Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001683/0.001683, allocations: 114.5 kB / 17.78 MB, free: 5.266 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.001902/0.001902, allocations: 190.9 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.518/1.518, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2186/0.2186, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3915, allocations: 60.81 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002941/0.3945, allocations: 1.597 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.3952, allocations: 408.3 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.3953, allocations: 1.25 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.3957, allocations: 114.5 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.3959, allocations: 85.16 kB / 0.5206 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3962, allocations: 108 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3964, allocations: 80.27 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3965, allocations: 16.48 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.3965, allocations: 43.12 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3967, allocations: 65.62 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3967, allocations: 2.469 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3968, allocations: 42.89 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.3969, allocations: 26.41 kB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.3969, allocations: 31.67 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3971, allocations: 116.1 kB / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3971, allocations: 0.6094 kB / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3971, allocations: 0 / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3971, allocations: 1.656 kB / 0.5211 GB, free: 1.652 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.0004289/0.3976, allocations: 423.4 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3976, allocations: 8.875 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3976, allocations: 33.67 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3977, allocations: 10.45 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3978, allocations: 208.3 kB / 0.5218 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3978, allocations: 5.781 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3979, allocations: 6.25 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.398, allocations: 53.86 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.398, allocations: 3.938 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.398, allocations: 8 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.398, allocations: 1.312 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3981, allocations: 25.52 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3985, allocations: 305.2 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3987, allocations: 48.11 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.3987, allocations: 27.66 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3987, allocations: 0 / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3988, allocations: 36.44 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3988, allocations: 0 / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009756/0.3997, allocations: 240.9 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3998, allocations: 57.03 kB / 0.5225 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.4, allocations: 238.1 kB / 0.5228 GB, free: 220 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4, allocations: 26.45 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.4001, allocations: 114.3 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.4001, allocations: 29.56 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.4002, allocations: 20.94 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4004, allocations: 328.1 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.4005, allocations: 29.23 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.4005, allocations: 31.8 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.4007, allocations: 80.45 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4007, allocations: 0 / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002461/0.401, allocations: 104.9 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.401, allocations: 9.438 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.401, allocations: 1.219 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.401, allocations: 0.7031 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4011, allocations: 25.02 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4011, allocations: 4.641 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.4012, allocations: 8.75 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4012, allocations: 2.891 kB / 0.5235 GB, free: 15.59 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.000135/0.4013, allocations: 132.9 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.4014, allocations: 19 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.4017, allocations: 135.7 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4017, allocations: 5.969 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4017, allocations: 3.938 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4017, allocations: 1.797 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.4024, allocations: 423.3 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4024, allocations: 9.031 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.4024, allocations: 18.09 kB / 0.5243 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4024, allocations: 0 / 0.5243 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4025, allocations: 1.812 kB / 0.5243 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4025, allocations: 0.75 kB / 0.5243 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4025, allocations: 1.75 kB / 0.5243 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.4028, allocations: 213.7 kB / 0.5245 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.4028, allocations: 92.77 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.4029, allocations: 5.922 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.4029, allocations: 10.53 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.403, allocations: 4.922 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.403, allocations: 2.562 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.4032, allocations: 187.8 kB / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4032, allocations: 0 / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.4034, allocations: 19.7 kB / 0.5248 GB, free: 14.62 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.002139/0.4056, allocations: 1.107 MB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4058, allocations: 70.8 kB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4058, allocations: 0 / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4059, allocations: 41.5 kB / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4063, allocations: 24.59 kB / 0.526 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.4086, allocations: 1.761 MB / 0.5277 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.409, allocations: 0.7143 MB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.109e-05/0.4091, allocations: 24.23 kB / 0.5284 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.4091, allocations: 38 kB / 0.5285 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4091, allocations: 1.094 kB / 0.5285 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.4356, allocations: 3.259 MB / 0.5316 GB, free: 10.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.414, allocations: 9.406 kB / 0.5317 GB, free: 10.14 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches