Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001288/0.001288, 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.001239/0.001239, allocations: 183 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.292/0.292, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 71.88 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3787, allocations: 60.81 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002508/0.3812, allocations: 1.566 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3824, allocations: 1.035 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.3825, allocations: 1.156 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3827, allocations: 24.58 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.3828, allocations: 41.33 kB / 0.521 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3831, allocations: 115.1 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3832, allocations: 52.64 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3833, allocations: 10.58 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.3834, allocations: 28.05 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.3835, allocations: 23.97 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3835, allocations: 3.469 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3836, allocations: 46.11 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.3837, allocations: 17.28 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.3837, allocations: 24.8 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3839, allocations: 87.25 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3839, allocations: 0 / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3839, allocations: 1.312 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3839, allocations: 0 / 0.5214 GB, free: 1.258 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.000382/0.3843, allocations: 389 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3843, allocations: 9.438 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.3844, allocations: 32.45 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3844, allocations: 8.203 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3845, allocations: 187.1 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3846, allocations: 5.438 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3846, allocations: 2.406 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3847, allocations: 70.58 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3847, allocations: 7.891 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3847, allocations: 3.984 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3847, allocations: 1.594 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.3848, allocations: 22.94 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.3851, allocations: 279.8 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3854, allocations: 49.62 kB / 0.5225 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.3854, allocations: 18.39 kB / 0.5225 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3854, allocations: 1.406 kB / 0.5225 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.3854, allocations: 35.27 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3854, allocations: 0 / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000515/0.386, allocations: 143.8 kB / 0.5226 GB, free: 96 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.386, allocations: 77.86 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3862, allocations: 135.7 kB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3862, allocations: 25.7 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3862, allocations: 102 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3862, allocations: 10.91 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.3863, allocations: 19.38 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3864, allocations: 323.7 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3865, allocations: 19.55 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.3866, allocations: 34.17 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3867, allocations: 55.56 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3867, allocations: 3.938 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.3869, allocations: 89.22 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3869, allocations: 5.688 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3869, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.387, allocations: 1.125 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.387, allocations: 12.73 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.387, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.3871, allocations: 9.359 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3871, allocations: 5.906 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.826e-05/0.3872, allocations: 114.6 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.3872, allocations: 8.328 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.3874, allocations: 96.89 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3874, allocations: 1.75 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3874, allocations: 0 / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3874, allocations: 5.062 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.3879, allocations: 357.3 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3879, allocations: 1.344 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.388, allocations: 15.45 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.388, allocations: 1.469 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.388, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.388, allocations: 14.12 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.388, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3882, allocations: 185.3 kB / 0.5243 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3883, allocations: 82.97 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3883, allocations: 1.219 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.3883, allocations: 9.344 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3884, allocations: 7.391 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3884, allocations: 1.922 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.3885, allocations: 107.4 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3885, allocations: 0 / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3888, allocations: 21.08 kB / 0.5245 GB, free: 14.42 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.001997/0.3908, allocations: 1.057 MB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.391, allocations: 51.88 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.391, allocations: 0 / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.391, allocations: 30.78 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3914, allocations: 22.22 kB / 0.5257 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.393, allocations: 1.402 MB / 0.527 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3934, allocations: 0.6969 MB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.3934, allocations: 21.5 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.3935, allocations: 25.17 kB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3935, allocations: 3.938 kB / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.428, allocations: 2.779 MB / 0.5305 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.344, allocations: 9.922 kB / 0.5305 GB, free: 10.42 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_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_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches