Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 118.8 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.001218/0.001218, allocations: 202 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.358/1.358, 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.2175/0.2175, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3546, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002906/0.3576, allocations: 1.681 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.3586, allocations: 0.5835 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.3586, allocations: 3.812 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3589, allocations: 67.27 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.3592, allocations: 104.7 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3596, allocations: 176.5 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3598, allocations: 96.55 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3599, allocations: 22.69 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.36, allocations: 41.23 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3601, allocations: 52.2 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3601, allocations: 3.875 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3602, allocations: 56.94 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.3603, allocations: 30.92 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.3604, allocations: 34.42 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.3606, allocations: 121.3 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3606, allocations: 1.312 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3606, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3606, allocations: 4 kB / 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.0005378/0.3612, allocations: 431 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3612, allocations: 9.969 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.3613, allocations: 36.03 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.3613, allocations: 18.69 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3615, allocations: 214.7 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3615, allocations: 5.844 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.3616, allocations: 7.844 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3618, allocations: 68.2 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3618, allocations: 0 / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3618, allocations: 5.812 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3618, allocations: 7.969 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.362, allocations: 40.84 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.3624, allocations: 327.4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3627, allocations: 69.11 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.3628, allocations: 26.06 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3628, allocations: 0 / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3629, allocations: 32.12 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3629, allocations: 0 / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00153/0.3644, allocations: 435.1 kB / 0.5352 GB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3644, allocations: 52.78 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3647, allocations: 218.7 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3647, allocations: 26.77 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3648, allocations: 110.6 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3648, allocations: 43.77 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3649, allocations: 26.22 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.365, allocations: 327.2 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3652, allocations: 52.77 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3653, allocations: 52.92 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.3656, allocations: 132.3 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3656, allocations: 0 / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003647/0.366, allocations: 169.7 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.366, allocations: 4.594 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.366, allocations: 1.312 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.366, allocations: 3.938 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3661, allocations: 32.98 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3662, allocations: 0 / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.3662, allocations: 18.92 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3663, allocations: 2.25 kB / 0.5364 GB, free: 8.73 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.0001025/0.3664, allocations: 130.8 kB / 0.5365 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.3664, allocations: 14.53 kB / 0.5365 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.3669, allocations: 204.4 kB / 0.5367 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3669, allocations: 4.969 kB / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3669, allocations: 0 / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3669, allocations: 1.062 kB / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/0.3676, allocations: 0.5084 MB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3677, allocations: 0 / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3678, allocations: 24.58 kB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3678, allocations: 5.422 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3678, allocations: 2.438 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3678, allocations: 5.75 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3678, allocations: 0 / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.3682, allocations: 286.7 kB / 0.5376 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3683, allocations: 89.08 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3683, allocations: 1.344 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3684, allocations: 13.89 kB / 0.5377 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3685, allocations: 12.64 kB / 0.5377 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3685, allocations: 3.219 kB / 0.5377 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3687, allocations: 173.7 kB / 0.5378 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.3687, allocations: 1.438 kB / 0.5378 GB, free: 7.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3689, allocations: 30.56 kB / 0.5379 GB, free: 7.52 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.001784/0.3707, allocations: 1.157 MB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.3711, allocations: 128.4 kB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3711, allocations: 0 / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.3713, allocations: 71.48 kB / 0.5392 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3717, allocations: 19.89 kB / 0.5392 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3742, allocations: 1.985 MB / 0.5411 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3745, allocations: 0.7216 MB / 0.5418 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.3746, allocations: 40.3 kB / 0.5419 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.3747, allocations: 47.3 kB / 0.5419 GB, free: 4.145 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3747, allocations: 0 / 0.5419 GB, free: 4.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.3949, allocations: 3.64 MB / 0.5455 GB, free: 2.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.88, allocations: 16.69 kB / 0.5455 GB, free: 2.18 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches