Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001768/0.001768, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.00187, allocations: 199.9 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.503/1.503, allocations: 227.4 MB / 247 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.2335/0.2335, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3644, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003093/0.3675, allocations: 1.681 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3686, allocations: 0.5809 MB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.3687, allocations: 0 / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3689, allocations: 60.95 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.3692, allocations: 101.8 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3696, allocations: 181.2 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3698, allocations: 94.36 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3699, allocations: 18.83 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.37, allocations: 40.34 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3701, allocations: 45.83 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3701, allocations: 4.125 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3702, allocations: 56.97 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.3703, allocations: 25.53 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.3704, allocations: 34.56 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.3706, allocations: 128.4 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3706, allocations: 0 / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3706, allocations: 0 / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3706, allocations: 0 / 0.5336 GB, free: 11.11 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.0005622/0.3712, allocations: 421.1 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3712, allocations: 13.56 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3713, allocations: 40.11 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.3713, allocations: 14.34 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3715, allocations: 209.2 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3716, allocations: 7.125 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3716, allocations: 7.125 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3718, allocations: 72.78 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3718, allocations: 3.953 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3718, allocations: 1.375 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3718, allocations: 1.375 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.372, allocations: 44.66 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3725, allocations: 328.6 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.3727, allocations: 56.77 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.3728, allocations: 34.61 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3728, allocations: 5.344 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3729, allocations: 34.56 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3729, allocations: 1.312 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.3744, allocations: 429.3 kB / 0.5353 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3744, allocations: 53.62 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3747, allocations: 196.3 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3747, allocations: 25.7 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.3748, allocations: 105.8 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.3748, allocations: 48.16 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3749, allocations: 26.91 kB / 0.5357 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.375, allocations: 322.3 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3752, allocations: 52.14 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3753, allocations: 66.3 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.3756, allocations: 119 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3756, allocations: 1.375 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003753/0.376, allocations: 164.3 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.376, allocations: 9.281 kB / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3761, allocations: 0 / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3761, allocations: 5.312 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3762, allocations: 31.52 kB / 0.5364 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3762, allocations: 1.594 kB / 0.5364 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.3763, allocations: 10.3 kB / 0.5364 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3763, allocations: 2.438 kB / 0.5365 GB, free: 8.688 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.000124/0.3764, allocations: 132.5 kB / 0.5366 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3765, allocations: 14.38 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.3769, allocations: 190.7 kB / 0.5368 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3769, allocations: 6.156 kB / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.377, allocations: 0 / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.377, allocations: 7.875 kB / 0.5368 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.3777, allocations: 0.5023 MB / 0.5373 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3777, allocations: 1.469 kB / 0.5373 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3778, allocations: 28.27 kB / 0.5373 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3779, allocations: 1.094 kB / 0.5373 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3779, allocations: 2.156 kB / 0.5373 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3779, allocations: 1.062 kB / 0.5373 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3779, allocations: 5.375 kB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.3783, allocations: 285.5 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.3784, allocations: 89.33 kB / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3784, allocations: 9.031 kB / 0.5377 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3785, allocations: 14.42 kB / 0.5377 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.3786, allocations: 9.297 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3786, allocations: 3.25 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3787, allocations: 159.1 kB / 0.5379 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3787, allocations: 0 / 0.5379 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.379, allocations: 27.94 kB / 0.5379 GB, free: 7.484 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.002264/0.3813, allocations: 1.161 MB / 0.539 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.3817, allocations: 128.1 kB / 0.5391 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3817, allocations: 1.969 kB / 0.5391 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3818, allocations: 69.92 kB / 0.5392 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3822, allocations: 20.14 kB / 0.5392 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3848, allocations: 1.911 MB / 0.5411 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3852, allocations: 0.7165 MB / 0.5418 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.3853, allocations: 35.89 kB / 0.5418 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.3854, allocations: 38.89 kB / 0.5419 GB, free: 4.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3854, allocations: 0 / 0.5419 GB, free: 4.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.4111, allocations: 3.512 MB / 0.5453 GB, free: 2.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.503, allocations: 14.5 kB / 0.5453 GB, free: 2.254 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches