Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001103/0.001103, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 197.2 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.435/1.435, allocations: 227.4 MB / 246.9 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.2161/0.2161, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 79.88 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3593, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003087/0.3624, allocations: 1.687 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.3634, allocations: 0.5713 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.3635, allocations: 1.25 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3638, allocations: 68.25 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3641, allocations: 97.62 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3645, allocations: 179.4 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3647, allocations: 90.83 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3648, allocations: 27.69 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.3649, allocations: 31.02 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.365, allocations: 53.06 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.365, allocations: 4.531 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.3651, allocations: 56.42 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.3652, allocations: 26.69 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.3652, allocations: 41.55 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.3654, allocations: 112.6 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3654, allocations: 4 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3654, allocations: 3.938 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3654, allocations: 0 / 0.5335 GB, free: 11.18 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.0005181/0.366, allocations: 430.6 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.366, allocations: 9.625 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.3661, allocations: 36.12 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3661, allocations: 14.28 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3663, allocations: 213.1 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3663, allocations: 5.734 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3664, allocations: 3.125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3665, allocations: 70.23 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3665, allocations: 0 / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3666, allocations: 0 / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3666, allocations: 5.359 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3667, allocations: 52.64 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.3672, allocations: 326 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.3674, allocations: 60.7 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.3675, allocations: 30.72 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3675, allocations: 1.375 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3675, allocations: 30.56 kB / 0.5347 GB, free: 9.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3675, allocations: 0 / 0.5347 GB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001453/0.369, allocations: 434.7 kB / 0.5352 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3691, allocations: 56.5 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3692, allocations: 198.7 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3693, allocations: 30.8 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.3693, allocations: 105.7 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3694, allocations: 40.03 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.3694, allocations: 26.75 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3695, allocations: 322.4 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3697, allocations: 60.11 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.3698, allocations: 53.95 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.3701, allocations: 124.2 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3701, allocations: 0 / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003632/0.3705, allocations: 172.7 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3705, allocations: 5.5 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3705, allocations: 0 / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3705, allocations: 5.281 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3707, allocations: 31.33 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3707, allocations: 1.312 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.3707, allocations: 9.828 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3708, allocations: 2.688 kB / 0.5363 GB, free: 8.762 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 9.789e-05/0.3709, allocations: 134.5 kB / 0.5365 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.3709, allocations: 8.781 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.3714, allocations: 196.6 kB / 0.5367 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3714, allocations: 5.125 kB / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3714, allocations: 0 / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3714, allocations: 5.375 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.3721, allocations: 0.4983 MB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3721, allocations: 0.9375 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3722, allocations: 24.7 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3722, allocations: 0.9375 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3722, allocations: 10.28 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3722, allocations: 1.344 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3723, allocations: 5.031 kB / 0.5372 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.3727, allocations: 288.8 kB / 0.5375 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.3727, allocations: 89.31 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3728, allocations: 1 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3729, allocations: 14.7 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.3729, allocations: 9.328 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3729, allocations: 3.344 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.3731, allocations: 157.2 kB / 0.5377 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3731, allocations: 0 / 0.5377 GB, free: 7.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3733, allocations: 27.72 kB / 0.5378 GB, free: 7.57 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.001598/0.375, allocations: 1.16 MB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.3753, allocations: 132.8 kB / 0.539 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3753, allocations: 0 / 0.539 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3755, allocations: 71.11 kB / 0.5391 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3759, allocations: 20.31 kB / 0.5391 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3784, allocations: 1.936 MB / 0.541 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3788, allocations: 0.7207 MB / 0.5417 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.839e-05/0.3789, allocations: 30.84 kB / 0.5417 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.379, allocations: 39.58 kB / 0.5418 GB, free: 4.227 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.379, allocations: 1.5 kB / 0.5418 GB, free: 4.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.4012, allocations: 3.575 MB / 0.5453 GB, free: 2.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.883, allocations: 6.031 kB / 0.5453 GB, free: 2.289 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches