Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, 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.001903/0.001903, 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.434/1.434, 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.2128/0.2128, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 71.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3872, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003442/0.3907, allocations: 1.658 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3926, allocations: 1.194 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.3927, allocations: 1.375 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.3929, allocations: 31.91 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3932, allocations: 85.73 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.3938, allocations: 173.2 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3939, allocations: 79.55 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3941, allocations: 22.42 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.3941, allocations: 34.44 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.3943, allocations: 36.47 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3943, allocations: 5.031 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.3945, allocations: 100.8 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.3946, allocations: 26.5 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.3946, allocations: 29.33 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3949, allocations: 159.4 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3949, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3949, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3949, allocations: 1.25 kB / 0.5341 GB, free: 10.68 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.0006/0.3956, allocations: 423 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3956, allocations: 9.781 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.3957, allocations: 44.11 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3957, allocations: 9.578 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3959, allocations: 204.3 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.396, allocations: 5.844 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.396, allocations: 3.25 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3962, allocations: 86.66 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3962, allocations: 0 / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3962, allocations: 5.156 kB / 0.5348 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3962, allocations: 1.094 kB / 0.5348 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3964, allocations: 42.92 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.3969, allocations: 311.2 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.397, allocations: 49.41 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.3971, allocations: 28.33 kB / 0.5352 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3971, allocations: 5.375 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3971, allocations: 31.94 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3972, allocations: 0 / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008156/0.398, allocations: 230 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.398, allocations: 82.48 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3982, allocations: 162.5 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3982, allocations: 25.7 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3983, allocations: 104.2 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3984, allocations: 22.55 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.3984, allocations: 24.58 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3985, allocations: 321.6 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3987, allocations: 40.59 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3988, allocations: 50.52 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3991, allocations: 94.42 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3991, allocations: 1.094 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003141/0.3994, allocations: 124.4 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3994, allocations: 5 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3994, allocations: 3.938 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3995, allocations: 1.375 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3996, allocations: 22.16 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3996, allocations: 1.312 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.3997, allocations: 17.92 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3997, allocations: 2.562 kB / 0.5366 GB, free: 8.383 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 (7): * Single equations (assignments): 7 * 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.0001036/0.3998, allocations: 123.5 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3999, allocations: 11.62 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.4002, allocations: 138.9 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4003, allocations: 1.281 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4003, allocations: 4 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4003, allocations: 13.3 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.4009, allocations: 410.7 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4009, allocations: 1.125 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.401, allocations: 18.36 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.401, allocations: 1.125 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.401, allocations: 11.92 kB / 0.5373 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4011, allocations: 9.156 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4011, allocations: 0 / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.4014, allocations: 220.6 kB / 0.5375 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.4015, allocations: 83.72 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4015, allocations: 5.156 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.4016, allocations: 19.3 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.4017, allocations: 10.41 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4017, allocations: 1.094 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4018, allocations: 119.8 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4018, allocations: 1.156 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.4021, allocations: 46.2 kB / 0.5378 GB, free: 7.328 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 (7): * Single equations (assignments): 7 * 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.001818/0.4039, allocations: 1.142 MB / 0.5389 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.4043, allocations: 89.27 kB / 0.539 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4043, allocations: 0 / 0.539 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4044, allocations: 56.7 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.4048, allocations: 15.47 kB / 0.539 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.4075, allocations: 1.65 MB / 0.5406 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4078, allocations: 0.7022 MB / 0.5413 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.408, allocations: 24.44 kB / 0.5413 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.408, allocations: 30.92 kB / 0.5414 GB, free: 4.211 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.408, allocations: 4 kB / 0.5414 GB, free: 4.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.4309, allocations: 3.584 MB / 0.5449 GB, free: 2.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.292, allocations: 9.125 kB / 0.5449 GB, free: 2.18 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_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_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches