Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 200.6 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.401/1.401, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 79.8 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3636, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00311/0.3667, allocations: 1.682 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3678, allocations: 0.5901 MB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.3679, allocations: 3.438 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.3685, allocations: 451.2 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.3689, allocations: 292.1 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.3694, allocations: 181.8 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.3696, allocations: 185.5 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3698, allocations: 23.75 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3699, allocations: 111.4 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.3702, allocations: 225.3 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3702, allocations: 4.125 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3703, allocations: 52.97 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3704, allocations: 86.72 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3705, allocations: 104.6 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.3709, allocations: 297.7 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3709, allocations: 0.9375 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3709, allocations: 0 / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3709, allocations: 0 / 0.5348 GB, free: 10.57 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.000829/0.3718, allocations: 0.6815 MB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3718, allocations: 9.406 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.3719, allocations: 39.55 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.372, allocations: 45 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3723, allocations: 304.8 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3723, allocations: 5.562 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3723, allocations: 7.891 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3725, allocations: 72.53 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3725, allocations: 5.062 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3726, allocations: 4 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3726, allocations: 1.219 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.3727, allocations: 40.98 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.3733, allocations: 426.9 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.3736, allocations: 61.17 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.3737, allocations: 30.19 kB / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3737, allocations: 0 / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.3737, allocations: 35.78 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3737, allocations: 0 / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001556/0.3753, allocations: 0.5025 MB / 0.537 GB, free: 8.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3753, allocations: 52.38 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009062/0.3763, allocations: 0.8763 MB / 0.5379 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3763, allocations: 29.7 kB / 0.5379 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.3765, allocations: 217.3 kB / 0.5381 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.3765, allocations: 35.97 kB / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3766, allocations: 34.36 kB / 0.5382 GB, free: 7.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3768, allocations: 360.1 kB / 0.5385 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3769, allocations: 53.39 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3771, allocations: 52.64 kB / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.3774, allocations: 129.1 kB / 0.5388 GB, free: 7.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3774, allocations: 0 / 0.5388 GB, free: 7.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003689/0.3777, allocations: 206 kB / 0.539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3778, allocations: 4.75 kB / 0.539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3778, allocations: 3.938 kB / 0.539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3778, allocations: 5.719 kB / 0.539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3779, allocations: 27.58 kB / 0.539 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3779, allocations: 1.5 kB / 0.539 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.378, allocations: 13.8 kB / 0.539 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.378, allocations: 2.906 kB / 0.539 GB, free: 7.34 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 0.0002102/0.3782, allocations: 220.7 kB / 0.5392 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.3783, allocations: 46.89 kB / 0.5393 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.3788, allocations: 242.9 kB / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3788, allocations: 5.375 kB / 0.5395 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3788, allocations: 1.438 kB / 0.5395 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3789, allocations: 0 / 0.5395 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.3797, allocations: 0.6071 MB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3798, allocations: 1.219 kB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3799, allocations: 28.62 kB / 0.5401 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3799, allocations: 1.219 kB / 0.5401 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3799, allocations: 2.281 kB / 0.5401 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3799, allocations: 1.156 kB / 0.5401 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3799, allocations: 4.969 kB / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.3804, allocations: 310.6 kB / 0.5404 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.3805, allocations: 115.6 kB / 0.5406 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.3805, allocations: 6.234 kB / 0.5406 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3806, allocations: 10.91 kB / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3807, allocations: 11.7 kB / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3807, allocations: 7.5 kB / 0.5406 GB, free: 6.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006747/0.3814, allocations: 0.6585 MB / 0.5412 GB, free: 5.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.3814, allocations: 0 / 0.5412 GB, free: 5.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3817, allocations: 38.94 kB / 0.5413 GB, free: 5.777 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.002288/0.384, allocations: 1.197 MB / 0.5424 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.3843, allocations: 124.1 kB / 0.5426 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3843, allocations: 0 / 0.5426 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3845, allocations: 68.27 kB / 0.5426 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3849, allocations: 33.55 kB / 0.5427 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.3894, allocations: 3.559 MB / 0.5461 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3899, allocations: 0.8417 MB / 0.5469 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.943e-05/0.39, allocations: 36.45 kB / 0.547 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.3902, allocations: 131.4 kB / 0.5471 GB, free: 496 kB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3902, allocations: 0 / 0.5471 GB, free: 496 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.4181, allocations: 6.675 MB / 0.5536 GB, free: 9.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.75, allocations: 0.8906 kB / 0.5536 GB, free: 9.883 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches