Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 114.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.001208/0.001208, allocations: 205.2 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.461/1.461, 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.2225/0.2225, allocations: 46.11 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 79.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3815, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003367/0.3849, allocations: 1.662 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.3871, allocations: 1.199 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.3872, allocations: 2.094 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3875, allocations: 23.14 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.3879, allocations: 85.05 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.3883, allocations: 181.6 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.3885, allocations: 83.38 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3887, allocations: 17.61 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.3887, allocations: 26.86 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3889, allocations: 41.59 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.389, allocations: 4.125 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.3892, allocations: 104.1 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.3893, allocations: 18.8 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.3894, allocations: 41.22 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.3897, allocations: 147.6 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3897, allocations: 0 / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.3897, allocations: 3.984 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3897, allocations: 1.375 kB / 0.5342 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.0007308/0.3905, allocations: 430.2 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3905, allocations: 9.625 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.3906, allocations: 36.12 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.3906, allocations: 9.016 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3909, allocations: 201.4 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3909, allocations: 5.75 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.391, allocations: 7.062 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3912, allocations: 75.61 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3912, allocations: 7.938 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3912, allocations: 0 / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3912, allocations: 1.344 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3914, allocations: 42.77 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.3919, allocations: 314.7 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3921, allocations: 53.22 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.3922, allocations: 29.61 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3922, allocations: 5.422 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3923, allocations: 30.56 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3923, allocations: 1.344 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009137/0.3932, allocations: 234.4 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.3933, allocations: 82.22 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3935, allocations: 154 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3935, allocations: 29.7 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3936, allocations: 104.6 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3936, allocations: 26.08 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.3937, allocations: 24.55 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3939, allocations: 321.1 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.394, allocations: 33.19 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3942, allocations: 53.69 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3945, allocations: 95.84 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3945, allocations: 0 / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003104/0.3948, allocations: 125.2 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3948, allocations: 7.562 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3948, allocations: 0 / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3949, allocations: 4 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.395, allocations: 23.09 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.395, allocations: 1.375 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.3951, allocations: 13.42 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3951, allocations: 6.688 kB / 0.5367 GB, free: 8.328 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.0001089/0.3952, allocations: 115.3 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.3953, allocations: 12.72 kB / 0.5368 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.3957, allocations: 143 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3957, allocations: 0 / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3957, allocations: 5.188 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3957, allocations: 7.922 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3964, allocations: 419.6 kB / 0.5373 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3964, allocations: 4 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.3965, allocations: 19.36 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3965, allocations: 0 / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3965, allocations: 8.922 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3965, allocations: 1.031 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3965, allocations: 480 / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.3969, allocations: 224.9 kB / 0.5376 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.397, allocations: 87.22 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3971, allocations: 5.031 kB / 0.5377 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3972, allocations: 10.42 kB / 0.5377 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3972, allocations: 15.14 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3972, allocations: 2.094 kB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3974, allocations: 118.8 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3974, allocations: 5.25 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.3977, allocations: 42.48 kB / 0.5379 GB, free: 7.277 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.002472/0.4002, allocations: 1.138 MB / 0.539 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.4005, allocations: 97.73 kB / 0.5391 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4005, allocations: 0 / 0.5391 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4007, allocations: 48.39 kB / 0.5391 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4011, allocations: 14.59 kB / 0.5391 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.4035, allocations: 1.649 MB / 0.5407 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4039, allocations: 0.7039 MB / 0.5414 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.404, allocations: 27.19 kB / 0.5415 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.4041, allocations: 31.45 kB / 0.5415 GB, free: 4.164 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4041, allocations: 0 / 0.5415 GB, free: 4.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.4307, allocations: 3.589 MB / 0.545 GB, free: 2.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.643, allocations: 8.906 kB / 0.545 GB, free: 2.129 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches