Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001271, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3778, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003071/0.3809, allocations: 1.612 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.3819, allocations: 0.5651 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.382, allocations: 1.375 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.3826, allocations: 452.2 kB / 0.5331 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.3831, allocations: 293.2 kB / 0.5334 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.3836, allocations: 167.5 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.3839, allocations: 171.2 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.384, allocations: 6.875 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3842, allocations: 122.8 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3844, allocations: 206.6 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3844, allocations: 2.75 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.3845, allocations: 27.06 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3846, allocations: 78.34 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.3847, allocations: 103.5 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.3851, allocations: 262.6 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3851, allocations: 5.25 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3851, allocations: 0 / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3851, allocations: 0 / 0.5345 GB, free: 10.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007138/0.3858, allocations: 0.655 MB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3859, allocations: 9.25 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.3859, allocations: 35.81 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.386, allocations: 43.25 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3863, allocations: 303.9 kB / 0.5355 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3863, allocations: 1.656 kB / 0.5355 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3863, allocations: 5.438 kB / 0.5355 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3865, allocations: 65.19 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3865, allocations: 0 / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3865, allocations: 1.031 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3866, allocations: 1.062 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.592e-05/0.3867, allocations: 21.73 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.3873, allocations: 386.4 kB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.3874, allocations: 40.44 kB / 0.536 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.3874, allocations: 15.73 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3875, allocations: 1.156 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3875, allocations: 35.64 kB / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3875, allocations: 0 / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003206/0.3878, allocations: 109.1 kB / 0.5361 GB, free: 9.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3879, allocations: 51.41 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3891, allocations: 0.8779 MB / 0.537 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3891, allocations: 29.64 kB / 0.5371 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3893, allocations: 222.5 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3894, allocations: 17 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.3894, allocations: 11.94 kB / 0.5373 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3896, allocations: 364.2 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.3897, allocations: 14.48 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.3897, allocations: 6.406 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.3898, allocations: 34.7 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3898, allocations: 0 / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.39, allocations: 91.28 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3901, allocations: 4.875 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.3901, allocations: 1.094 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3901, allocations: 7.938 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.3902, allocations: 8.828 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3902, allocations: 3.938 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.3903, allocations: 3.219 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3903, allocations: 1.25 kB / 0.5378 GB, free: 8 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 (2): * Single equations (assignments): 2 * 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.0002433/0.3905, allocations: 212.6 kB / 0.538 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.3906, allocations: 47.11 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3909, allocations: 113.5 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3909, allocations: 0 / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3909, allocations: 1.406 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3909, allocations: 3.984 kB / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.3913, allocations: 288.3 kB / 0.5385 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3913, allocations: 5.688 kB / 0.5385 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.3914, allocations: 8.062 kB / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3914, allocations: 0 / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3914, allocations: 1.25 kB / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3914, allocations: 0 / 0.5385 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3914, allocations: 8.016 kB / 0.5385 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3917, allocations: 190.1 kB / 0.5387 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.3918, allocations: 114.6 kB / 0.5388 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3918, allocations: 1.312 kB / 0.5388 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.3919, allocations: 1.5 kB / 0.5388 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3919, allocations: 1.594 kB / 0.5388 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3919, allocations: 5.594 kB / 0.5388 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000732/0.3926, allocations: 0.6635 MB / 0.5394 GB, free: 6.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3927, allocations: 0 / 0.5394 GB, free: 6.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3929, allocations: 23.94 kB / 0.5395 GB, free: 6.84 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 (2): * Single equations (assignments): 2 * 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.00138/0.3943, allocations: 0.9665 MB / 0.5404 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3945, allocations: 23.08 kB / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3945, allocations: 1.156 kB / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.3946, allocations: 15.77 kB / 0.5404 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.3951, allocations: 35.69 kB / 0.5405 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.401, allocations: 3.182 MB / 0.5436 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.4017, allocations: 0.824 MB / 0.5444 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.4018, allocations: 19.77 kB / 0.5444 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.402, allocations: 110.4 kB / 0.5445 GB, free: 3.051 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.402, allocations: 9.25 kB / 0.5445 GB, free: 3.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.4297, allocations: 5.794 MB / 0.5502 GB, free: 13.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.46, allocations: 0.8906 kB / 0.5502 GB, free: 13.38 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_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_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches