Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 117.6 kB / 17.78 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.00186/0.001861, allocations: 200.7 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.351/1.351, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 75.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002871/0.3253, allocations: 1.68 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.3263, allocations: 0.5619 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.3263, allocations: 3.562 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3266, allocations: 64.8 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3269, allocations: 100.7 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.3272, allocations: 139 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3273, allocations: 84.62 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.3274, allocations: 21.41 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.3275, allocations: 41.22 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3276, allocations: 57.06 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3276, allocations: 4.125 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.3277, allocations: 48.23 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.3278, allocations: 29.42 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.3279, allocations: 39.06 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.3281, allocations: 129.1 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3281, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3281, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3281, allocations: 0 / 0.5336 GB, free: 11.16 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.0005262/0.3286, allocations: 438.9 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3287, allocations: 9.312 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3287, allocations: 35.89 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.3288, allocations: 15.19 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.329, allocations: 208.6 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.329, allocations: 1.719 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.329, allocations: 6.891 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3292, allocations: 64.27 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3292, allocations: 4 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3292, allocations: 4.938 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3292, allocations: 5.141 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3294, allocations: 35.16 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3297, allocations: 312 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.33, allocations: 58.86 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.3301, allocations: 28.69 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3301, allocations: 1.125 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3301, allocations: 31.66 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3301, allocations: 0 / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001377/0.3315, allocations: 414.1 kB / 0.5352 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3315, allocations: 52.78 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3318, allocations: 221.7 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3318, allocations: 25.7 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.3319, allocations: 114.9 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.3319, allocations: 39.81 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.332, allocations: 25.97 kB / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3321, allocations: 326.9 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3322, allocations: 42.12 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3324, allocations: 40.56 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3326, allocations: 104.1 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3326, allocations: 1.062 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/0.3329, allocations: 149.9 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.333, allocations: 5.375 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.333, allocations: 5.188 kB / 0.5363 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.333, allocations: 3.938 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3331, allocations: 28.48 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3331, allocations: 9.062 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.3332, allocations: 9.703 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3332, allocations: 3.562 kB / 0.5363 GB, free: 8.77 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.0001031/0.3333, allocations: 129.1 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.3334, allocations: 14.41 kB / 0.5365 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.3337, allocations: 167 kB / 0.5366 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3338, allocations: 5.125 kB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3338, allocations: 1.719 kB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3338, allocations: 3.984 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.3344, allocations: 474.6 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3344, allocations: 5.219 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3345, allocations: 32.64 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3346, allocations: 1.156 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3346, allocations: 2.219 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3346, allocations: 1.188 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3346, allocations: 0.8438 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.3349, allocations: 260 kB / 0.5374 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.335, allocations: 97.12 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.335, allocations: 5 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.3351, allocations: 10.98 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3352, allocations: 4.438 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.3352, allocations: 7.562 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.3354, allocations: 174.3 kB / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3354, allocations: 0 / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3356, allocations: 25.31 kB / 0.5377 GB, free: 7.617 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.002136/0.3378, allocations: 1.138 MB / 0.5388 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.3381, allocations: 118.4 kB / 0.5389 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3381, allocations: 0 / 0.5389 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3382, allocations: 58.56 kB / 0.539 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3386, allocations: 23.81 kB / 0.539 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3408, allocations: 1.89 MB / 0.5408 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3412, allocations: 0.711 MB / 0.5415 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.3412, allocations: 18.44 kB / 0.5415 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3413, allocations: 44.23 kB / 0.5416 GB, free: 4.328 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3413, allocations: 0 / 0.5416 GB, free: 4.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.3645, allocations: 3.483 MB / 0.545 GB, free: 2.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.174, allocations: 7.922 kB / 0.545 GB, free: 2.445 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches