Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001318, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 87.84 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3336, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003046/0.3367, allocations: 1.677 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3377, allocations: 0.5499 MB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.3378, allocations: 2.188 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.338, allocations: 66.47 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3383, allocations: 88.67 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3387, allocations: 131.1 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3388, allocations: 87.5 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3389, allocations: 21.84 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.339, allocations: 37.59 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3391, allocations: 49.81 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3391, allocations: 8.062 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.943e-05/0.3392, allocations: 48.98 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.3393, allocations: 28.11 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.3394, allocations: 38.59 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3396, allocations: 119 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3396, allocations: 4 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3396, allocations: 0 / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3396, allocations: 0 / 0.5335 GB, free: 11.15 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.00055/0.3402, allocations: 421.1 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3402, allocations: 9.625 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.3402, allocations: 40.11 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.3403, allocations: 14.34 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3405, allocations: 205 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3405, allocations: 1.688 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3406, allocations: 11.06 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3407, allocations: 66.94 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3408, allocations: 8.766 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.3408, allocations: 1.094 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3408, allocations: 0.9688 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3409, allocations: 47.11 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3414, allocations: 310.5 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.3416, allocations: 59.3 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.3417, allocations: 24.53 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3417, allocations: 1.281 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3418, allocations: 35.84 kB / 0.5347 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3418, allocations: 4 kB / 0.5347 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001444/0.3432, allocations: 397.4 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3433, allocations: 53.56 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.3435, allocations: 198.7 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3435, allocations: 25.7 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.3436, allocations: 110.5 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.3436, allocations: 40.2 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3437, allocations: 24.45 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3438, allocations: 327.3 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.344, allocations: 43.28 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3441, allocations: 47.28 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3443, allocations: 101.3 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3444, allocations: 0 / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003175/0.3447, allocations: 147 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3447, allocations: 4.219 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3447, allocations: 5.156 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3447, allocations: 7.875 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3449, allocations: 28.42 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3449, allocations: 1.062 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.3449, allocations: 10.77 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.345, allocations: 1.875 kB / 0.5362 GB, free: 8.793 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.0001173/0.3451, allocations: 127.6 kB / 0.5364 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3451, allocations: 14.62 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.3455, allocations: 171.1 kB / 0.5365 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3455, allocations: 4.969 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3455, allocations: 0 / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3456, allocations: 1.125 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.3463, allocations: 484.9 kB / 0.537 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3463, allocations: 1.094 kB / 0.537 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3464, allocations: 32.47 kB / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3464, allocations: 1.375 kB / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3464, allocations: 5.156 kB / 0.537 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3464, allocations: 1.25 kB / 0.537 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3464, allocations: 1.469 kB / 0.537 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3468, allocations: 259.9 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.3469, allocations: 88.67 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3469, allocations: 6.281 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.347, allocations: 9.969 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3471, allocations: 8.391 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3471, allocations: 11.5 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3472, allocations: 153.5 kB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3472, allocations: 0 / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3475, allocations: 26.52 kB / 0.5376 GB, free: 7.641 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.002225/0.3497, allocations: 1.147 MB / 0.5387 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.3501, allocations: 105.8 kB / 0.5388 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3501, allocations: 0 / 0.5388 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3502, allocations: 71.55 kB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3506, allocations: 18.58 kB / 0.5389 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3529, allocations: 1.827 MB / 0.5407 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3532, allocations: 0.7132 MB / 0.5414 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.3533, allocations: 22.38 kB / 0.5414 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.3534, allocations: 35.08 kB / 0.5414 GB, free: 4.387 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3534, allocations: 0 / 0.5414 GB, free: 4.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3771, allocations: 3.401 MB / 0.5447 GB, free: 2.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.184, allocations: 13.64 kB / 0.5448 GB, free: 2.535 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches