Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 118.8 kB / 17.79 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.002027/0.002027, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 75.88 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4473, allocations: 62.44 MB / 0.5305 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004063/0.4514, allocations: 2.034 MB / 0.5325 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.4541, allocations: 1.346 MB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.4543, allocations: 8 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.4547, allocations: 61.11 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005973/0.4553, allocations: 209.1 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4568, allocations: 0.6031 MB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.4573, allocations: 321.6 kB / 0.535 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.4576, allocations: 72.42 kB / 0.5351 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.4579, allocations: 137 kB / 0.5352 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.4582, allocations: 182.3 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.4583, allocations: 17.5 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.4585, allocations: 72.39 kB / 0.5354 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.4587, allocations: 136.2 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.4589, allocations: 175.5 kB / 0.5357 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.4595, allocations: 425.8 kB / 0.5362 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4595, allocations: 1.25 kB / 0.5362 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4595, allocations: 0 / 0.5362 GB, free: 9.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4595, allocations: 0 / 0.5362 GB, free: 9.25 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001289/0.4608, allocations: 0.8083 MB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4609, allocations: 8.969 kB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.4609, allocations: 38.69 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.4613, allocations: 85.16 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.4621, allocations: 482.5 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4622, allocations: 7.906 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.4622, allocations: 18.66 kB / 0.5376 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.4625, allocations: 148.6 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4625, allocations: 5.031 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.4626, allocations: 5.156 kB / 0.5377 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4626, allocations: 2.344 kB / 0.5377 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.4628, allocations: 92.97 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.4641, allocations: 0.7046 MB / 0.5385 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4643, allocations: 116.1 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.4644, allocations: 42.55 kB / 0.5386 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.4645, allocations: 6 kB / 0.5386 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.4645, allocations: 43.66 kB / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.4645, allocations: 1.031 kB / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001608/0.4661, allocations: 0.5592 MB / 0.5392 GB, free: 6.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4662, allocations: 82.61 kB / 0.5393 GB, free: 6.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.4675, allocations: 0.9293 MB / 0.5402 GB, free: 6.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4675, allocations: 30.83 kB / 0.5402 GB, free: 6.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.4677, allocations: 278.3 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.4678, allocations: 49.55 kB / 0.5406 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.4679, allocations: 37.7 kB / 0.5406 GB, free: 5.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.468, allocations: 311.2 kB / 0.5409 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4682, allocations: 62.39 kB / 0.541 GB, free: 5.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.4684, allocations: 93.56 kB / 0.541 GB, free: 5.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4687, allocations: 151.6 kB / 0.5412 GB, free: 5.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4687, allocations: 1.406 kB / 0.5412 GB, free: 5.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005419/0.4693, allocations: 243.9 kB / 0.5414 GB, free: 5.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4693, allocations: 4.781 kB / 0.5414 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4693, allocations: 5.25 kB / 0.5414 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4693, allocations: 1 kB / 0.5414 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.4695, allocations: 40.25 kB / 0.5415 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4695, allocations: 1.062 kB / 0.5415 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4698, allocations: 20.3 kB / 0.5415 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4698, allocations: 4.469 kB / 0.5415 GB, free: 5.305 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002297/0.47, allocations: 216 kB / 0.5417 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.4701, allocations: 62.12 kB / 0.5418 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/0.4708, allocations: 296.3 kB / 0.542 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4708, allocations: 2.375 kB / 0.542 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4708, allocations: 1.125 kB / 0.542 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4708, allocations: 1.062 kB / 0.542 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.4721, allocations: 0.8213 MB / 0.5428 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4721, allocations: 1 kB / 0.5428 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.4723, allocations: 35.56 kB / 0.5429 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4723, allocations: 0.9688 kB / 0.5429 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.4723, allocations: 10.73 kB / 0.5429 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.4723, allocations: 5 kB / 0.5429 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4723, allocations: 5.094 kB / 0.5429 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.473, allocations: 423.9 kB / 0.5433 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4732, allocations: 150.5 kB / 0.5434 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.4733, allocations: 6.125 kB / 0.5435 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.4735, allocations: 19.7 kB / 0.5435 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4735, allocations: 18.44 kB / 0.5435 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4736, allocations: 4.312 kB / 0.5435 GB, free: 3.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008873/0.4745, allocations: 0.6812 MB / 0.5442 GB, free: 3.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4745, allocations: 0 / 0.5442 GB, free: 3.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.4749, allocations: 60 kB / 0.5442 GB, free: 3.332 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 (16): * Single equations (assignments): 16 * 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.00167/0.4766, allocations: 1.235 MB / 0.5454 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.477, allocations: 179.7 kB / 0.5456 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4771, allocations: 0 / 0.5456 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4772, allocations: 84.36 kB / 0.5457 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.4779, allocations: 91.86 kB / 0.5458 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/0.4845, allocations: 5.177 MB / 0.5508 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4851, allocations: 0.8731 MB / 0.5517 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.4853, allocations: 99.12 kB / 0.5518 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.4856, allocations: 175.4 kB / 0.5519 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4856, allocations: 0 / 0.5519 GB, free: 11.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.5172, allocations: 10.27 MB / 0.562 GB, free: 1.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.943, allocations: 10.42 kB / 0.562 GB, free: 1.23 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches