Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 118.2 kB / 17.78 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.001494/0.001495, allocations: 205.2 kB / 18.74 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.4/1.4, 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.2186/0.2186, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002158, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 62.46 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003158/0.3327, allocations: 1.654 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3338, allocations: 0.5889 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.3339, allocations: 1.438 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.3345, allocations: 448.9 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.335, allocations: 297 kB / 0.5336 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3355, allocations: 172.6 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.3357, allocations: 179.4 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3359, allocations: 18.44 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.336, allocations: 118.5 kB / 0.534 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.3363, allocations: 212.3 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3363, allocations: 3.625 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.3364, allocations: 37.8 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3365, allocations: 87.55 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.3366, allocations: 104.2 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.337, allocations: 276.2 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.337, allocations: 1.375 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.337, allocations: 0 / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.337, allocations: 0 / 0.5347 GB, free: 10.62 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.0008032/0.3378, allocations: 0.6711 MB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3378, allocations: 14.16 kB / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.3379, allocations: 40.02 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.3379, allocations: 42.75 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3382, allocations: 309.7 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3383, allocations: 1.375 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3383, allocations: 6.672 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3385, allocations: 67.28 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3385, allocations: 0 / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3385, allocations: 0 / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3385, allocations: 1.094 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3387, allocations: 47.5 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.3393, allocations: 406.8 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3394, allocations: 48.55 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.3395, allocations: 29.06 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3395, allocations: 5 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3396, allocations: 35.34 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3396, allocations: 3.938 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000916/0.3405, allocations: 324.2 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3405, allocations: 52.75 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008923/0.3414, allocations: 0.8711 MB / 0.5376 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3415, allocations: 26.8 kB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3417, allocations: 224.1 kB / 0.5378 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3417, allocations: 19.17 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.3417, allocations: 18.88 kB / 0.5379 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3419, allocations: 369.3 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.342, allocations: 36.59 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.3422, allocations: 41.67 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3424, allocations: 83.77 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3424, allocations: 4 kB / 0.5384 GB, free: 7.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003343/0.3428, allocations: 170.8 kB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3428, allocations: 5.438 kB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3428, allocations: 0 / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3428, allocations: 1.094 kB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3429, allocations: 19.2 kB / 0.5386 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.343, allocations: 0 / 0.5386 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.343, allocations: 22.61 kB / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3431, allocations: 2 kB / 0.5386 GB, free: 7.562 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 (7): * Single equations (assignments): 7 * 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.0001958/0.3433, allocations: 218.7 kB / 0.5388 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.3433, allocations: 46.84 kB / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.3437, allocations: 180.1 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3437, allocations: 1.062 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3438, allocations: 5.5 kB / 0.539 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3438, allocations: 3.938 kB / 0.539 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/0.3445, allocations: 0.5141 MB / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3445, allocations: 0 / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/0.3446, allocations: 23.02 kB / 0.5395 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3446, allocations: 1.344 kB / 0.5395 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3446, allocations: 7.938 kB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3446, allocations: 1.094 kB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3446, allocations: 0 / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.345, allocations: 255.1 kB / 0.5398 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.3451, allocations: 115 kB / 0.5399 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.3451, allocations: 9.281 kB / 0.5399 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3452, allocations: 13.83 kB / 0.5399 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.3453, allocations: 2.969 kB / 0.5399 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3453, allocations: 1.625 kB / 0.5399 GB, free: 6.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006452/0.3459, allocations: 0.6593 MB / 0.5406 GB, free: 6.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3459, allocations: 0 / 0.5406 GB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3462, allocations: 28.59 kB / 0.5406 GB, free: 6.148 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 (7): * Single equations (assignments): 7 * 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.001972/0.3482, allocations: 1.102 MB / 0.5417 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3485, allocations: 92.36 kB / 0.5418 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3485, allocations: 4 kB / 0.5418 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3487, allocations: 52.66 kB / 0.5418 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3491, allocations: 33.16 kB / 0.5419 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.353, allocations: 3.38 MB / 0.5452 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.3535, allocations: 0.826 MB / 0.546 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.902e-05/0.3536, allocations: 24.95 kB / 0.546 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3537, allocations: 115.4 kB / 0.5461 GB, free: 1.539 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3538, allocations: 4 kB / 0.5461 GB, free: 1.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.3809, allocations: 6.247 MB / 0.5522 GB, free: 11.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.667, allocations: 7.328 kB / 0.5522 GB, free: 11.35 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches