Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 76.16 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3817, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003009/0.3847, allocations: 1.595 MB / 0.5321 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3858, allocations: 0.5319 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.3859, allocations: 0 / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3861, allocations: 25.09 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3865, allocations: 81 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.3868, allocations: 94.94 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3869, allocations: 61.75 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.387, allocations: 13.95 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.3871, allocations: 33.28 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.3872, allocations: 17.66 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3872, allocations: 2.031 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.3873, allocations: 28.86 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.3873, allocations: 16.36 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.3874, allocations: 25.2 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3876, allocations: 90.66 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3876, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3876, allocations: 0 / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3876, allocations: 1.375 kB / 0.5331 GB, free: 11.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005256/0.3882, allocations: 386 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3882, allocations: 8.719 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.3883, allocations: 34.69 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3883, allocations: 9.125 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3885, allocations: 203.3 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3886, allocations: 9.5 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3886, allocations: 2.719 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3887, allocations: 47.91 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3888, allocations: 0 / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3888, allocations: 1.094 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3888, allocations: 0 / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3889, allocations: 29.81 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.3893, allocations: 276.6 kB / 0.534 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.3895, allocations: 46.73 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.3896, allocations: 12.02 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3896, allocations: 0 / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3896, allocations: 36.28 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3897, allocations: 0 / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005938/0.3903, allocations: 157.1 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3903, allocations: 52.78 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.3905, allocations: 163 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3905, allocations: 25.7 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.3906, allocations: 96.27 kB / 0.5346 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.3906, allocations: 14.55 kB / 0.5346 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.3907, allocations: 21.84 kB / 0.5346 GB, free: 9.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3908, allocations: 320.2 kB / 0.5349 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.3909, allocations: 18.98 kB / 0.535 GB, free: 9.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.391, allocations: 14.98 kB / 0.535 GB, free: 9.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3911, allocations: 48.2 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3911, allocations: 192 / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/0.3913, allocations: 89.14 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3913, allocations: 5.5 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3914, allocations: 0 / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3914, allocations: 0 / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.3914, allocations: 13.61 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3915, allocations: 5.312 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.3915, allocations: 6.75 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3915, allocations: 1.375 kB / 0.5351 GB, free: 9.453 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 (5): * Single equations (assignments): 5 * 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.0001049/0.3916, allocations: 123.3 kB / 0.5352 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.3917, allocations: 11.97 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.3919, allocations: 89.53 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3919, allocations: 1.375 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.392, allocations: 3.938 kB / 0.5354 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.392, allocations: 1.375 kB / 0.5354 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.3924, allocations: 358.4 kB / 0.5357 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3925, allocations: 1.375 kB / 0.5357 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.3925, allocations: 13.61 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3925, allocations: 3.938 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3925, allocations: 1.375 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3926, allocations: 3.938 kB / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3926, allocations: 0 / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3928, allocations: 180.4 kB / 0.5359 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3928, allocations: 84.02 kB / 0.536 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3929, allocations: 7.938 kB / 0.536 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.3929, allocations: 6.75 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.393, allocations: 6.734 kB / 0.536 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.393, allocations: 1.375 kB / 0.536 GB, free: 8.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3931, allocations: 125.2 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 0 / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3934, allocations: 14.03 kB / 0.5361 GB, free: 8.504 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 (5): * Single equations (assignments): 5 * 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.001415/0.3948, allocations: 1.01 MB / 0.5371 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.395, allocations: 52.31 kB / 0.5372 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.395, allocations: 0 / 0.5372 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.3951, allocations: 28.27 kB / 0.5372 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3955, allocations: 20.53 kB / 0.5372 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3973, allocations: 1.46 MB / 0.5386 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3976, allocations: 0.6999 MB / 0.5393 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.3977, allocations: 17.11 kB / 0.5393 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.3978, allocations: 20.25 kB / 0.5394 GB, free: 5.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3978, allocations: 0 / 0.5394 GB, free: 5.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.4178, allocations: 2.61 MB / 0.5419 GB, free: 4.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.134, allocations: 2.016 kB / 0.5419 GB, free: 4.102 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches