Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 79.86 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.304, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002954/0.307, allocations: 1.622 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3087, allocations: 1.161 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.3087, allocations: 1.375 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.3089, allocations: 15.98 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3092, allocations: 85.73 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3095, allocations: 96.56 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3096, allocations: 78.02 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.3097, allocations: 16.25 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.3098, allocations: 26.91 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.3103, allocations: 40.2 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3103, allocations: 4.125 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3105, allocations: 100.7 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.3106, allocations: 15.67 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.3106, allocations: 37.77 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3109, allocations: 153.4 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3109, allocations: 3.938 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3109, allocations: 0 / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3109, allocations: 0 / 0.534 GB, free: 10.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005165/0.3114, allocations: 419.4 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3115, allocations: 8.625 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.3115, allocations: 32.09 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.3115, allocations: 9.016 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3118, allocations: 205.9 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3118, allocations: 1.562 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3118, allocations: 2.5 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.312, allocations: 76.98 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.312, allocations: 0 / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.312, allocations: 5.188 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.312, allocations: 1.188 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3121, allocations: 34.11 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.3125, allocations: 298.5 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3127, allocations: 55.89 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.3127, allocations: 17.27 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3128, allocations: 5.109 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3128, allocations: 39.73 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3128, allocations: 0 / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006394/0.3134, allocations: 174.2 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3135, allocations: 82.59 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3137, allocations: 164.2 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3137, allocations: 27.17 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.3138, allocations: 100.1 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.3138, allocations: 26 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.3139, allocations: 25.2 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.314, allocations: 321.4 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.3141, allocations: 20.7 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.3142, allocations: 42.64 kB / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3143, allocations: 64.86 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3143, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002065/0.3145, allocations: 103.1 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3146, allocations: 5.5 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3146, allocations: 9.312 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3146, allocations: 0 / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.3147, allocations: 17.73 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3147, allocations: 5.312 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3148, allocations: 10.69 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3148, allocations: 2.75 kB / 0.5363 GB, free: 8.547 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 (8): * Single equations (assignments): 8 * 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.695e-05/0.3149, allocations: 123.3 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3149, allocations: 8.078 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.3152, allocations: 117 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3152, allocations: 1.375 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3152, allocations: 5.312 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3153, allocations: 4 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.3158, allocations: 387.7 kB / 0.5369 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3158, allocations: 0 / 0.5369 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.3158, allocations: 21.39 kB / 0.5369 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3159, allocations: 5.156 kB / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3159, allocations: 1.375 kB / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3159, allocations: 0 / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3159, allocations: 1.156 kB / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3162, allocations: 198.2 kB / 0.5371 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.3162, allocations: 91.14 kB / 0.5372 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3163, allocations: 5 kB / 0.5372 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.3164, allocations: 4.312 kB / 0.5372 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.3164, allocations: 7.141 kB / 0.5372 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.3164, allocations: 2.094 kB / 0.5372 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.3165, allocations: 118.4 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3165, allocations: 0 / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3168, allocations: 47.11 kB / 0.5374 GB, free: 7.547 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 (8): * Single equations (assignments): 8 * 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.002083/0.3189, allocations: 1.122 MB / 0.5385 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3191, allocations: 67.86 kB / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3191, allocations: 0 / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.3192, allocations: 34.33 kB / 0.5386 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3196, allocations: 23.73 kB / 0.5386 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3213, allocations: 1.518 MB / 0.5401 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3216, allocations: 0.6931 MB / 0.5408 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.3217, allocations: 21.38 kB / 0.5408 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.3218, allocations: 30.86 kB / 0.5408 GB, free: 4.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3218, allocations: 1.062 kB / 0.5408 GB, free: 4.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3471, allocations: 3.409 MB / 0.5442 GB, free: 2.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.184, allocations: 2.188 kB / 0.5442 GB, free: 2.574 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches