Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001581, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 73.08 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08832, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002569/0.09092, allocations: 1.686 MB / 481.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.09175, allocations: 0.5416 MB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.09181, allocations: 3.938 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.092, allocations: 59.73 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.09228, allocations: 91.59 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.0926, allocations: 131.1 kB / 482.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.09273, allocations: 87.75 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.09284, allocations: 24.22 kB / 482.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.0929, allocations: 35.84 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.09298, allocations: 39.84 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.09301, allocations: 4 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.375e-05/0.0931, allocations: 55.95 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.09317, allocations: 23.92 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.09321, allocations: 27.75 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.09337, allocations: 119.9 kB / 483 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.09338, allocations: 4 kB / 483 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09339, allocations: 0 / 483 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.0934, allocations: 0 / 483 MB, free: 2.219 MB / 350.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.0004326/0.09384, allocations: 415 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.09388, allocations: 8.031 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.09392, allocations: 38.73 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.09396, allocations: 8.844 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.09413, allocations: 204.1 kB / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.09414, allocations: 384 / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.09417, allocations: 8.375 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.09432, allocations: 69.53 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.09434, allocations: 3.906 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.09436, allocations: 8 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.09437, allocations: 0 / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.09449, allocations: 31.97 kB / 483.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.09483, allocations: 316.7 kB / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.09504, allocations: 54.55 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.09512, allocations: 32.91 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.09514, allocations: 0 / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.09517, allocations: 34.56 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.09517, allocations: 4 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001322/0.0965, allocations: 397.2 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.09654, allocations: 55.41 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.0967, allocations: 186.1 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.09673, allocations: 33.7 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.09678, allocations: 100.1 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.09682, allocations: 31.47 kB / 485 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.09688, allocations: 29.75 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.09697, allocations: 322.8 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.0971, allocations: 44.03 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.09722, allocations: 47.97 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.09746, allocations: 104.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.09746, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002912/0.09776, allocations: 141.4 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.09778, allocations: 4 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.09779, allocations: 8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.09781, allocations: 3.938 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.09793, allocations: 27.97 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.09795, allocations: 3.984 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.09802, allocations: 11.98 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.09803, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.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 8.921e-05/0.09813, allocations: 125.8 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.09817, allocations: 19.84 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.09853, allocations: 158.3 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.09854, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.09855, allocations: 3.984 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.09856, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.09915, allocations: 475.9 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.09917, allocations: 3.984 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.09927, allocations: 27.98 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.09929, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.0993, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.09931, allocations: 8.062 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.09931, allocations: 3.938 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.09965, allocations: 249.5 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.0997, allocations: 92.91 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.09973, allocations: 8 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.09983, allocations: 12.08 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.09988, allocations: 11.94 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.09989, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.606e-05/0.09999, allocations: 147.2 kB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1, allocations: 0 / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1002, allocations: 24 kB / 487.1 MB, free: 13.79 MB / 366.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.001382/0.1016, allocations: 1.14 MB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.102, allocations: 107.8 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.102, allocations: 4 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1021, allocations: 59.91 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1024, allocations: 23.55 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1043, allocations: 1.779 MB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1046, allocations: 0.708 MB / 490.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1046, allocations: 20.55 kB / 491 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.1047, allocations: 39.41 kB / 491 MB, free: 9.922 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1047, allocations: 0 / 491 MB, free: 9.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.1516, allocations: 3.222 MB / 494.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/7.868, allocations: 17 kB / 494.2 MB, free: 6.75 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches