Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001251, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 203.9 kB / 18.74 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.411/1.411, 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.2309/0.2309, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 83.84 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3897, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003573/0.3933, allocations: 2.052 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3952, allocations: 1.116 MB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.3953, allocations: 2.75 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.3958, allocations: 273.3 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.3963, allocations: 261.9 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3977, allocations: 0.6516 MB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.3982, allocations: 349.7 kB / 0.5352 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.3984, allocations: 84.58 kB / 0.5353 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3986, allocations: 147.2 kB / 0.5354 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3988, allocations: 209.8 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.3989, allocations: 11.41 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.399, allocations: 75.5 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3992, allocations: 97.3 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.3993, allocations: 126.8 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.3998, allocations: 362.2 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3998, allocations: 0 / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3998, allocations: 1.125 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3998, allocations: 0 / 0.5363 GB, free: 9.289 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000903/0.4007, allocations: 0.7083 MB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4008, allocations: 10.62 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.978e-05/0.4008, allocations: 46.33 kB / 0.537 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.4009, allocations: 44.12 kB / 0.5371 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.4013, allocations: 350.5 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4014, allocations: 7.906 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.4014, allocations: 11.62 kB / 0.5374 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.4017, allocations: 131.7 kB / 0.5375 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4017, allocations: 8.922 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.4017, allocations: 13 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4017, allocations: 2.844 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.402, allocations: 94.67 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.4027, allocations: 0.5149 MB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.4029, allocations: 112.2 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.403, allocations: 39.81 kB / 0.5383 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.4031, allocations: 2.875 kB / 0.5383 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4031, allocations: 43.94 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4031, allocations: 0 / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001077/0.4042, allocations: 457.5 kB / 0.5388 GB, free: 7.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4042, allocations: 57.59 kB / 0.5388 GB, free: 7.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/0.405, allocations: 0.606 MB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.405, allocations: 29.7 kB / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4052, allocations: 209.2 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.4053, allocations: 57.06 kB / 0.5397 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.4054, allocations: 34.64 kB / 0.5397 GB, free: 6.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.4056, allocations: 360.1 kB / 0.5401 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4058, allocations: 70.8 kB / 0.5402 GB, free: 6.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4059, allocations: 70.7 kB / 0.5402 GB, free: 6.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.4062, allocations: 150.4 kB / 0.5404 GB, free: 6.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4062, allocations: 0 / 0.5404 GB, free: 6.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004278/0.4067, allocations: 239.9 kB / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4067, allocations: 5.375 kB / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4067, allocations: 0 / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4067, allocations: 5.531 kB / 0.5406 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.4069, allocations: 31.67 kB / 0.5406 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4069, allocations: 0 / 0.5406 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.407, allocations: 17.7 kB / 0.5407 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.407, allocations: 4.375 kB / 0.5407 GB, free: 5.898 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 (17): * Single equations (assignments): 17 * 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.0002084/0.4072, allocations: 185.8 kB / 0.5408 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.4073, allocations: 47.36 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.4079, allocations: 284.4 kB / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4079, allocations: 1.844 kB / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4079, allocations: 1.062 kB / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.408, allocations: 0 / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.409, allocations: 0.705 MB / 0.5418 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.409, allocations: 0 / 0.5418 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4092, allocations: 38.86 kB / 0.5419 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4092, allocations: 9.062 kB / 0.5419 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4092, allocations: 6.188 kB / 0.5419 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.4092, allocations: 5.188 kB / 0.5419 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4092, allocations: 0 / 0.5419 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.4098, allocations: 330.3 kB / 0.5422 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4099, allocations: 127 kB / 0.5423 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.4099, allocations: 1.281 kB / 0.5423 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.41, allocations: 16.84 kB / 0.5424 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4101, allocations: 10.2 kB / 0.5424 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4101, allocations: 8.641 kB / 0.5424 GB, free: 4.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005259/0.4106, allocations: 451.2 kB / 0.5428 GB, free: 4.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4106, allocations: 0 / 0.5428 GB, free: 4.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000314/0.411, allocations: 51.03 kB / 0.5429 GB, free: 4.336 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 (17): * Single equations (assignments): 17 * 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.003453/0.4144, allocations: 1.453 MB / 0.5443 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.4148, allocations: 168.7 kB / 0.5444 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4148, allocations: 0 / 0.5444 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.415, allocations: 95.78 kB / 0.5445 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.4156, allocations: 83.36 kB / 0.5446 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.4201, allocations: 3.343 MB / 0.5479 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.4206, allocations: 0.8299 MB / 0.5487 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000174/0.4208, allocations: 62.17 kB / 0.5487 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.421, allocations: 139.4 kB / 0.5489 GB, free: 14.83 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.421, allocations: 0 / 0.5489 GB, free: 14.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.4502, allocations: 7.886 MB / 0.5566 GB, free: 7.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/9.066, allocations: 3.938 kB / 0.5566 GB, free: 7.027 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches