Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 200.7 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.379/1.379, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002077, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 62.45 MB / 0.5306 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003246/0.3363, allocations: 1.71 MB / 0.5323 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3374, allocations: 0.5595 MB / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.3375, allocations: 3.938 kB / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3377, allocations: 21.06 kB / 0.5329 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.338, allocations: 89.27 kB / 0.533 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.3384, allocations: 131.2 kB / 0.5331 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3386, allocations: 96.98 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3387, allocations: 12.25 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.3388, allocations: 36.22 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3389, allocations: 52.08 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.339, allocations: 6.875 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.3392, allocations: 106.9 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.3392, allocations: 21.42 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.3393, allocations: 34.67 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3396, allocations: 174.1 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3397, allocations: 3.938 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3397, allocations: 1.375 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3397, allocations: 0 / 0.5336 GB, free: 10.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007445/0.3404, allocations: 453.1 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3405, allocations: 8.625 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.3405, allocations: 36.25 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.3406, allocations: 9.484 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3408, allocations: 211.5 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3408, allocations: 1.469 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3409, allocations: 3.312 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3412, allocations: 98.36 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3412, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3412, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3412, allocations: 1.156 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.3415, allocations: 65.73 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.342, allocations: 312.2 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.3422, allocations: 68.91 kB / 0.5348 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3424, allocations: 52.11 kB / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3425, allocations: 1.406 kB / 0.5349 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3425, allocations: 35.97 kB / 0.5349 GB, free: 9.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.366e-06/0.3425, allocations: 0 / 0.5349 GB, free: 9.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001656/0.3442, allocations: 389.2 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.3443, allocations: 83.33 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3445, allocations: 168.4 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3445, allocations: 29.7 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.3446, allocations: 97.62 kB / 0.5356 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.3446, allocations: 30.45 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3447, allocations: 29.95 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3448, allocations: 321.6 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3451, allocations: 73.05 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.3454, allocations: 84.27 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.346, allocations: 153.4 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.346, allocations: 1.469 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006569/0.3467, allocations: 196.6 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3467, allocations: 5.344 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3467, allocations: 0 / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3467, allocations: 1.062 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.3469, allocations: 42.2 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3469, allocations: 3.938 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3471, allocations: 26.28 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3471, allocations: 2.562 kB / 0.5366 GB, free: 8.41 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 (10): * Single equations (assignments): 10 * 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.000114/0.3472, allocations: 127.5 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3473, allocations: 13.31 kB / 0.5367 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/0.348, allocations: 202.2 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.348, allocations: 1.344 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.348, allocations: 3.938 kB / 0.5369 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.348, allocations: 7.922 kB / 0.5369 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.3489, allocations: 494.8 kB / 0.5374 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.349, allocations: 1.188 kB / 0.5374 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3491, allocations: 39.67 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3492, allocations: 1.031 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3492, allocations: 1.125 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3492, allocations: 8.812 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3492, allocations: 0 / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.3499, allocations: 290 kB / 0.5377 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.3499, allocations: 96.17 kB / 0.5378 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.35, allocations: 1.031 kB / 0.5378 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3502, allocations: 25.59 kB / 0.5378 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3502, allocations: 8.672 kB / 0.5378 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3502, allocations: 6.031 kB / 0.5378 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.3504, allocations: 126.9 kB / 0.538 GB, free: 7.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3504, allocations: 4 kB / 0.538 GB, free: 7.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3507, allocations: 48.25 kB / 0.538 GB, free: 7.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.002564/0.3532, allocations: 1.223 MB / 0.5392 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006505/0.3539, allocations: 157.1 kB / 0.5394 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3539, allocations: 1.094 kB / 0.5394 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3542, allocations: 77.73 kB / 0.5394 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3546, allocations: 29.34 kB / 0.5395 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.3576, allocations: 1.846 MB / 0.5413 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3579, allocations: 0.6981 MB / 0.5419 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.822e-05/0.358, allocations: 22.56 kB / 0.542 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3581, allocations: 38.98 kB / 0.542 GB, free: 3.922 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3581, allocations: 1.312 kB / 0.542 GB, free: 3.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.3834, allocations: 4.276 MB / 0.5462 GB, free: 1.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.095, allocations: 16.11 kB / 0.5462 GB, free: 1.398 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches