Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 79.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4405, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003205/0.4437, allocations: 1.682 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4449, allocations: 0.5796 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.445, allocations: 4.938 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.4454, allocations: 46.98 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.4457, allocations: 90.36 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.4462, allocations: 177.5 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.4464, allocations: 97.08 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.4466, allocations: 22.91 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.4466, allocations: 38.12 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.4468, allocations: 36.97 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.4468, allocations: 4.375 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.4469, allocations: 53.25 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.447, allocations: 23.77 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.447, allocations: 35.05 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.4473, allocations: 122.7 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4473, allocations: 4 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4473, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4473, allocations: 1.781 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005433/0.4478, allocations: 422.8 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4479, allocations: 9.625 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.4479, allocations: 32.12 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.448, allocations: 14.34 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.4482, allocations: 216.4 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4482, allocations: 1.75 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.4482, allocations: 7.125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.4484, allocations: 72.84 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4484, allocations: 1.375 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.4485, allocations: 0 / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4485, allocations: 1.375 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.4486, allocations: 48.64 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.4491, allocations: 320.6 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4493, allocations: 68.64 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.4494, allocations: 26.72 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.4494, allocations: 3.984 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4494, allocations: 35.94 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4494, allocations: 0 / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.4509, allocations: 426.2 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4509, allocations: 52.38 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.4512, allocations: 183.5 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4512, allocations: 30.3 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.4513, allocations: 109.7 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.4513, allocations: 44.86 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.4514, allocations: 21.47 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4515, allocations: 326.6 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4517, allocations: 52.95 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4518, allocations: 57.2 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.4521, allocations: 127.8 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4521, allocations: 4 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003146/0.4524, allocations: 160.2 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4524, allocations: 5.344 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4524, allocations: 5 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4525, allocations: 5 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4526, allocations: 27.73 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4526, allocations: 1 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.4527, allocations: 10.27 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4527, allocations: 6.688 kB / 0.5363 GB, free: 8.773 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 (11): * Single equations (assignments): 11 * 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.27e-05/0.4528, allocations: 131.8 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.4528, allocations: 17.09 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.4532, allocations: 194.8 kB / 0.5366 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4532, allocations: 5.156 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4533, allocations: 0 / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4533, allocations: 1.125 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.454, allocations: 0.501 MB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.454, allocations: 1.281 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.4541, allocations: 28.38 kB / 0.5371 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4541, allocations: 1.562 kB / 0.5371 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4541, allocations: 5.438 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4541, allocations: 1.656 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4541, allocations: 0 / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.4545, allocations: 277.4 kB / 0.5374 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.4546, allocations: 93.56 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4546, allocations: 1.125 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.4547, allocations: 19.11 kB / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4548, allocations: 4.469 kB / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4548, allocations: 3.25 kB / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4549, allocations: 149.1 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4549, allocations: 0 / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.4552, allocations: 27.28 kB / 0.5377 GB, free: 7.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001553/0.4567, allocations: 1.16 MB / 0.5388 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.4571, allocations: 128.7 kB / 0.5389 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4571, allocations: 1.312 kB / 0.539 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.4573, allocations: 74.48 kB / 0.539 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4577, allocations: 23.88 kB / 0.539 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4599, allocations: 1.896 MB / 0.5409 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.4602, allocations: 0.7154 MB / 0.5416 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.825e-05/0.4603, allocations: 35.17 kB / 0.5416 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.4604, allocations: 47.5 kB / 0.5417 GB, free: 4.254 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4604, allocations: 0 / 0.5417 GB, free: 4.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.4819, allocations: 3.43 MB / 0.545 GB, free: 2.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/8.045, allocations: 17.62 kB / 0.545 GB, free: 2.383 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches