Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 118.2 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.001269/0.001269, allocations: 198 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.356/1.356, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 72.09 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.387, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003499/0.3905, allocations: 1.591 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3916, allocations: 0.5359 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.3917, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.392, allocations: 19.64 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.3923, allocations: 85.02 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.3926, allocations: 81.89 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3928, allocations: 65.95 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3929, allocations: 10.88 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.393, allocations: 24.11 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.3931, allocations: 26.72 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3931, allocations: 2.75 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.3932, allocations: 36.31 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.3933, allocations: 16.23 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.3933, allocations: 19.41 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3935, allocations: 82.62 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3935, allocations: 1.406 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.3935, allocations: 3.984 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3935, allocations: 3.938 kB / 0.5332 GB, free: 11.39 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.0005289/0.3941, allocations: 379.8 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3941, allocations: 9.938 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.3942, allocations: 39.98 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3942, allocations: 7.734 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3945, allocations: 189 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.3945, allocations: 1.562 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3945, allocations: 5.781 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3946, allocations: 52.95 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3947, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3947, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3947, allocations: 1.375 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.3948, allocations: 24.8 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.3952, allocations: 286.7 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3954, allocations: 40.38 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.3955, allocations: 19.34 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3955, allocations: 3.984 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3955, allocations: 35.78 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.677e-06/0.3955, allocations: 0 / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005822/0.3961, allocations: 145.9 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3962, allocations: 52.69 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3964, allocations: 153.2 kB / 0.5346 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3964, allocations: 30.89 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.3965, allocations: 94.53 kB / 0.5347 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3965, allocations: 18.27 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3965, allocations: 18.56 kB / 0.5347 GB, free: 9.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3967, allocations: 325.5 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.3968, allocations: 18.48 kB / 0.5351 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.3968, allocations: 17.92 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.397, allocations: 52.64 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.397, allocations: 0 / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.3972, allocations: 75.97 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3972, allocations: 8.562 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3972, allocations: 0 / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3973, allocations: 0 / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.3973, allocations: 14.17 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3973, allocations: 3.938 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3974, allocations: 11.8 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.3974, allocations: 5.312 kB / 0.5352 GB, free: 9.371 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 9.253e-05/0.3975, allocations: 115 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3975, allocations: 6.703 kB / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.3978, allocations: 90.25 kB / 0.5354 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3978, allocations: 3.938 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3978, allocations: 1.938 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3978, allocations: 7.984 kB / 0.5354 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3983, allocations: 349.5 kB / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3983, allocations: 1.375 kB / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.3984, allocations: 13.61 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3984, allocations: 0 / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3984, allocations: 1.375 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3984, allocations: 3.938 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3984, allocations: 5.359 kB / 0.5358 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3986, allocations: 183 kB / 0.536 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3987, allocations: 82.44 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3987, allocations: 5.312 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3988, allocations: 6.688 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3988, allocations: 10.73 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3989, allocations: 1.375 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.399, allocations: 121.4 kB / 0.5362 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.399, allocations: 0 / 0.5362 GB, free: 8.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3992, allocations: 17.56 kB / 0.5362 GB, free: 8.426 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.001918/0.4012, allocations: 0.9983 MB / 0.5372 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.4014, allocations: 51.39 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4014, allocations: 1.375 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.4015, allocations: 27.11 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.4018, allocations: 18.75 kB / 0.5373 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.4037, allocations: 1.44 MB / 0.5387 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4041, allocations: 0.6905 MB / 0.5394 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.4042, allocations: 9.219 kB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.4042, allocations: 24.64 kB / 0.5394 GB, free: 5.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4042, allocations: 0 / 0.5394 GB, free: 5.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.4273, allocations: 2.547 MB / 0.5419 GB, free: 4.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.152, allocations: 8.938 kB / 0.5419 GB, free: 4.066 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches