Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, 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.001339/0.001339, 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.48/1.48, allocations: 227.4 MB / 247 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.2343/0.2343, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3779, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003759/0.3817, allocations: 1.953 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3838, allocations: 1.075 MB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3839, allocations: 6.781 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.3844, allocations: 260.9 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.385, allocations: 253.1 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3864, allocations: 0.6469 MB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.3869, allocations: 314.1 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3871, allocations: 54.83 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3872, allocations: 139 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.3875, allocations: 206.7 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.3876, allocations: 9.25 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.3877, allocations: 49.73 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3879, allocations: 95.86 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.388, allocations: 120 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.3885, allocations: 310.8 kB / 0.536 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3885, allocations: 4 kB / 0.536 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3885, allocations: 0 / 0.536 GB, free: 9.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3885, allocations: 5.031 kB / 0.536 GB, free: 9.535 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009363/0.3895, allocations: 0.6774 MB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3895, allocations: 10.34 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.3896, allocations: 41.05 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.3897, allocations: 46.64 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.3901, allocations: 336 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3901, allocations: 7.531 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3901, allocations: 3.906 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.3904, allocations: 102.2 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3904, allocations: 0 / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3904, allocations: 5.875 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3904, allocations: 1.469 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3906, allocations: 74.14 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.3913, allocations: 483.3 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3915, allocations: 79.05 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.3916, allocations: 36.89 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3916, allocations: 5.406 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3917, allocations: 31.81 kB / 0.5378 GB, free: 7.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.3917, allocations: 0 / 0.5378 GB, free: 7.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003991/0.3921, allocations: 156.3 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3921, allocations: 56.38 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.3929, allocations: 0.6022 MB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3929, allocations: 26.61 kB / 0.5386 GB, free: 7.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3931, allocations: 214.8 kB / 0.5389 GB, free: 7.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3932, allocations: 22.64 kB / 0.5389 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.3932, allocations: 22.77 kB / 0.5389 GB, free: 7.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3934, allocations: 351.6 kB / 0.5392 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.3935, allocations: 22.8 kB / 0.5393 GB, free: 6.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.3936, allocations: 34.19 kB / 0.5393 GB, free: 6.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3937, allocations: 65.11 kB / 0.5393 GB, free: 6.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3937, allocations: 1.25 kB / 0.5393 GB, free: 6.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.394, allocations: 129.9 kB / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.394, allocations: 5.562 kB / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.394, allocations: 0 / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.394, allocations: 5.25 kB / 0.5395 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.3941, allocations: 18.36 kB / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3941, allocations: 0 / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.3942, allocations: 8.562 kB / 0.5395 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3942, allocations: 1.719 kB / 0.5395 GB, free: 6.605 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 (6): * Single equations (assignments): 6 * 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.0001773/0.3944, allocations: 172.4 kB / 0.5397 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.3945, allocations: 41.38 kB / 0.5397 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.3948, allocations: 159.3 kB / 0.5399 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.3948, allocations: 5.594 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3948, allocations: 3.938 kB / 0.5399 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3949, allocations: 0 / 0.5399 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.3952, allocations: 318.6 kB / 0.5402 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3952, allocations: 1.219 kB / 0.5402 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3953, allocations: 13.11 kB / 0.5402 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3953, allocations: 1.094 kB / 0.5402 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3953, allocations: 5.344 kB / 0.5402 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3953, allocations: 3.938 kB / 0.5402 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3953, allocations: 1.219 kB / 0.5402 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3956, allocations: 235.2 kB / 0.5404 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.3958, allocations: 117.5 kB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.3958, allocations: 4.812 kB / 0.5405 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.3959, allocations: 7.719 kB / 0.5406 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.3959, allocations: 2.875 kB / 0.5406 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3959, allocations: 5.656 kB / 0.5406 GB, free: 5.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00051/0.3964, allocations: 451.2 kB / 0.541 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3965, allocations: 0 / 0.541 GB, free: 5.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3967, allocations: 42.94 kB / 0.541 GB, free: 5.445 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 (6): * Single equations (assignments): 6 * 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.002797/0.3996, allocations: 1.242 MB / 0.5422 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3998, allocations: 65.7 kB / 0.5423 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.3998, allocations: 0 / 0.5423 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.3999, allocations: 40.81 kB / 0.5423 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.4005, allocations: 90.09 kB / 0.5424 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.4046, allocations: 2.967 MB / 0.5453 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.4051, allocations: 0.8149 MB / 0.5461 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.4053, allocations: 57.88 kB / 0.5462 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.4054, allocations: 111.4 kB / 0.5463 GB, free: 1.473 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4054, allocations: 0 / 0.5463 GB, free: 1.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.4357, allocations: 6.971 MB / 0.5531 GB, free: 10.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.811, allocations: 10.2 kB / 0.5531 GB, free: 10.57 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches