Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001666, allocations: 118.5 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.001826/0.001826, allocations: 197.2 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.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.44, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002733/0.4427, allocations: 1.655 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.4437, allocations: 0.5777 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.4438, allocations: 1.625 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.4443, allocations: 451.9 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.4447, allocations: 289.1 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.4451, allocations: 176.7 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.4454, allocations: 174.5 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.4455, allocations: 17.61 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4456, allocations: 106.3 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.4458, allocations: 219.4 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.4458, allocations: 2.344 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.4459, allocations: 42.34 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.446, allocations: 82.78 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.4461, allocations: 100.2 kB / 0.5343 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.4464, allocations: 275.7 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4465, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4465, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4465, allocations: 1.312 kB / 0.5346 GB, free: 10.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007006/0.4472, allocations: 0.6712 MB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4472, allocations: 9.156 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.4473, allocations: 31.88 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.4473, allocations: 43.81 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4476, allocations: 309.5 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4476, allocations: 1.969 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4477, allocations: 1.156 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4478, allocations: 60.36 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4479, allocations: 4 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4479, allocations: 1.438 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4479, allocations: 0 / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.448, allocations: 37.81 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.4485, allocations: 397.3 kB / 0.5361 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.4487, allocations: 48.78 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.4488, allocations: 16.69 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.4488, allocations: 8 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4488, allocations: 31.56 kB / 0.5362 GB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4488, allocations: 1.125 kB / 0.5362 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000647/0.4495, allocations: 245.8 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4495, allocations: 60.44 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.4505, allocations: 0.8784 MB / 0.5373 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4505, allocations: 25.7 kB / 0.5374 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.4507, allocations: 229.7 kB / 0.5376 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.4508, allocations: 18.38 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.4508, allocations: 17.81 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.451, allocations: 360.6 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.4511, allocations: 28.28 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.4511, allocations: 20.73 kB / 0.538 GB, free: 7.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4513, allocations: 50.98 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4513, allocations: 1.594 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002418/0.4515, allocations: 131 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4516, allocations: 7 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4516, allocations: 5.156 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4516, allocations: 0 / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.4517, allocations: 13.8 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4517, allocations: 1 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.4518, allocations: 6.594 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.4518, allocations: 6.016 kB / 0.5382 GB, free: 7.754 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 0.000207/0.452, allocations: 215.1 kB / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.4521, allocations: 46.45 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.4524, allocations: 147 kB / 0.5386 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4524, allocations: 1.062 kB / 0.5386 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4524, allocations: 0 / 0.5386 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4524, allocations: 5.094 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.453, allocations: 468.8 kB / 0.5391 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.453, allocations: 0 / 0.5391 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.4531, allocations: 18.25 kB / 0.5391 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.4531, allocations: 0 / 0.5391 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4531, allocations: 8.906 kB / 0.5391 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.4531, allocations: 1.062 kB / 0.5391 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4531, allocations: 3.984 kB / 0.5391 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.4534, allocations: 218.7 kB / 0.5393 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4535, allocations: 115 kB / 0.5394 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.4536, allocations: 11.94 kB / 0.5394 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.4537, allocations: 12.47 kB / 0.5394 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4537, allocations: 5.234 kB / 0.5394 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.4537, allocations: 1.938 kB / 0.5394 GB, free: 6.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006755/0.4544, allocations: 0.6597 MB / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4544, allocations: 1.219 kB / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4547, allocations: 29.86 kB / 0.5401 GB, free: 6.395 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.001359/0.456, allocations: 1.055 MB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4563, allocations: 55.58 kB / 0.5412 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4563, allocations: 0 / 0.5412 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.4564, allocations: 32.64 kB / 0.5412 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4568, allocations: 26.52 kB / 0.5413 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.4607, allocations: 3.275 MB / 0.5445 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.4611, allocations: 0.8298 MB / 0.5453 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.4612, allocations: 20.64 kB / 0.5453 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4613, allocations: 115.4 kB / 0.5454 GB, free: 2.191 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4613, allocations: 0 / 0.5454 GB, free: 2.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.4833, allocations: 6.117 MB / 0.5514 GB, free: 12.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.817, allocations: 0.8906 kB / 0.5514 GB, free: 12.14 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches