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.001244/0.001244, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 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.2193/0.2193, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3251, allocations: 62.43 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002877/0.328, allocations: 1.685 MB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.329, allocations: 0.5572 MB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.329, allocations: 0 / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.3293, allocations: 68.27 kB / 0.5328 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3296, allocations: 101.2 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.3299, allocations: 142.7 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3301, allocations: 88.88 kB / 0.5331 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.3302, allocations: 24.45 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.3302, allocations: 36.34 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3304, allocations: 57.94 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3304, allocations: 4.125 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3305, allocations: 48.98 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3306, allocations: 25.53 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.3306, allocations: 42.55 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3309, allocations: 123.1 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3309, allocations: 0 / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3309, allocations: 0 / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3309, allocations: 1.375 kB / 0.5335 GB, free: 11.12 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.0006514/0.3316, allocations: 430.6 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3316, allocations: 9.625 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3317, allocations: 36.12 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.3317, allocations: 18.25 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3319, allocations: 212.3 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3319, allocations: 1.75 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.332, allocations: 3.125 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3321, allocations: 71.45 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3322, allocations: 4 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3322, allocations: 1.375 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3322, allocations: 1.375 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3323, allocations: 37.97 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.3327, allocations: 317 kB / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.3329, allocations: 55.23 kB / 0.5346 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.333, allocations: 24.88 kB / 0.5346 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3331, allocations: 7.938 kB / 0.5346 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3331, allocations: 31.88 kB / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3331, allocations: 0 / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.3345, allocations: 398.1 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3346, allocations: 57.84 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3348, allocations: 220.5 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3348, allocations: 25.7 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.3349, allocations: 110.3 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.335, allocations: 40.64 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.335, allocations: 25.33 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3351, allocations: 326.7 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3353, allocations: 43.56 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3354, allocations: 40.12 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3356, allocations: 103.6 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3356, allocations: 1.375 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003074/0.3359, allocations: 142.7 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.336, allocations: 4.656 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.336, allocations: 0 / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.336, allocations: 5.5 kB / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3361, allocations: 31.94 kB / 0.5362 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3362, allocations: 5.094 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.3362, allocations: 13.58 kB / 0.5362 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3362, allocations: 3.438 kB / 0.5362 GB, free: 8.75 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.0001057/0.3364, allocations: 128.5 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3364, allocations: 18.2 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.3368, allocations: 171.9 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3368, allocations: 6.188 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3368, allocations: 0.5625 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3368, allocations: 0 / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.3375, allocations: 482.7 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3375, allocations: 1.062 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3376, allocations: 32.27 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3376, allocations: 1.656 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3377, allocations: 9.891 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3377, allocations: 1.094 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3377, allocations: 1.125 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.338, allocations: 264 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3381, allocations: 85.33 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3381, allocations: 9.188 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3382, allocations: 10.7 kB / 0.5374 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3383, allocations: 8.391 kB / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3383, allocations: 7.406 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.3384, allocations: 165.8 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3384, allocations: 0 / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3387, allocations: 31.14 kB / 0.5376 GB, free: 7.586 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.001672/0.3404, allocations: 1.133 MB / 0.5387 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.3408, allocations: 106.7 kB / 0.5388 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3408, allocations: 0 / 0.5388 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3409, allocations: 62.92 kB / 0.5388 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3413, allocations: 18.44 kB / 0.5388 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.3437, allocations: 1.893 MB / 0.5407 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.344, allocations: 0.7159 MB / 0.5414 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.344, allocations: 14.36 kB / 0.5414 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.3441, allocations: 47.09 kB / 0.5415 GB, free: 4.305 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3441, allocations: 0 / 0.5415 GB, free: 4.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.3643, allocations: 3.512 MB / 0.5449 GB, free: 2.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.101, allocations: 2.234 kB / 0.5449 GB, free: 2.406 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