Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 122.8 kB / 17.79 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.00125/0.00125, allocations: 202 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.397/1.397, 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.2158/0.2158, allocations: 46.11 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003365/0.003366, allocations: 76.16 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.384, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002799/0.3868, allocations: 1.606 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.3878, allocations: 0.5398 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.3878, allocations: 1.375 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3881, allocations: 114.2 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.3883, allocations: 115.3 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3886, allocations: 94.56 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3887, allocations: 93.27 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.3888, allocations: 15.33 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.3889, allocations: 43.42 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.389, allocations: 64.56 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.389, allocations: 3.406 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.3891, allocations: 49.23 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.3892, allocations: 25.02 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.3892, allocations: 38.55 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.3894, allocations: 116.1 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3894, allocations: 1.656 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3894, allocations: 3.938 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3894, allocations: 0 / 0.5335 GB, free: 11.24 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.0004649/0.3899, allocations: 438.4 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3899, allocations: 9.531 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.39, allocations: 36.62 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.39, allocations: 18.88 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3902, allocations: 210.4 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3902, allocations: 6.047 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3903, allocations: 5.906 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3904, allocations: 54.52 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3904, allocations: 5.391 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.3904, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3904, allocations: 1.438 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.3905, allocations: 29.81 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.3909, allocations: 298.1 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.391, allocations: 43.81 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.3911, allocations: 15.84 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3911, allocations: 5.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3911, allocations: 34.5 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3911, allocations: 4 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000807/0.3919, allocations: 232.5 kB / 0.5349 GB, free: 9.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.392, allocations: 55.39 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.3922, allocations: 259.2 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3923, allocations: 25.7 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.3923, allocations: 111 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3924, allocations: 31.86 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.3924, allocations: 19.22 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3926, allocations: 323 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.3927, allocations: 25.73 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.3927, allocations: 27.09 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3929, allocations: 68.67 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3929, allocations: 0 / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.3931, allocations: 104.7 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3931, allocations: 9.25 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3931, allocations: 0 / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3932, allocations: 1 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.3933, allocations: 17.92 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3933, allocations: 7.938 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.3933, allocations: 7.328 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3933, allocations: 2.219 kB / 0.5359 GB, free: 9.004 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 0.0001107/0.3934, allocations: 131 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3935, allocations: 15.03 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.3938, allocations: 129 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3938, allocations: 1.5 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3938, allocations: 7.938 kB / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3938, allocations: 0 / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.3944, allocations: 413.8 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3944, allocations: 5.094 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.3945, allocations: 21.48 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3945, allocations: 1.125 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3945, allocations: 1.062 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3945, allocations: 5.219 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3945, allocations: 5.391 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3948, allocations: 201.5 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.3949, allocations: 92.45 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3949, allocations: 5.188 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.395, allocations: 7.469 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.395, allocations: 11.28 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.395, allocations: 2.188 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.3952, allocations: 192.9 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3952, allocations: 0 / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3954, allocations: 14.72 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002099/0.3975, allocations: 1.099 MB / 0.5382 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3978, allocations: 74.47 kB / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3978, allocations: 0 / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.3979, allocations: 33.77 kB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3982, allocations: 25.69 kB / 0.5383 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4002, allocations: 1.754 MB / 0.54 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4005, allocations: 0.7153 MB / 0.5407 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.655e-05/0.4006, allocations: 15.86 kB / 0.5408 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.4006, allocations: 37.08 kB / 0.5408 GB, free: 4.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4006, allocations: 0.9688 kB / 0.5408 GB, free: 4.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.4226, allocations: 3.255 MB / 0.544 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.927, allocations: 11.44 kB / 0.544 GB, free: 3.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches