Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001725, 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.001966/0.001966, 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.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 76.09 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003013/0.3438, allocations: 1.647 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3449, allocations: 0.5776 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.345, allocations: 1.906 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.3456, allocations: 449 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.3461, allocations: 295.6 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.3466, allocations: 181 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.3468, allocations: 173.1 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.347, allocations: 29.53 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3471, allocations: 110.1 kB / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.3474, allocations: 211.9 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3474, allocations: 3.344 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3475, allocations: 36.7 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3476, allocations: 83.66 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3477, allocations: 103.8 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.3481, allocations: 266.8 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3481, allocations: 5.125 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3481, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3481, allocations: 0 / 0.5347 GB, free: 10.64 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.0008261/0.349, allocations: 0.6639 MB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.349, allocations: 9.688 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.3491, allocations: 39.95 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.3491, allocations: 44.06 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.3494, allocations: 304.6 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.3494, allocations: 1.625 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3495, allocations: 6.906 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3496, allocations: 59.05 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3497, allocations: 5.297 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3497, allocations: 4 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3497, allocations: 1.125 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.3498, allocations: 27.88 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.3503, allocations: 410 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3506, allocations: 45.88 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.3506, allocations: 20.47 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3507, allocations: 0 / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3507, allocations: 35.91 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3507, allocations: 7.875 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006977/0.3514, allocations: 242.4 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.3515, allocations: 52.69 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3526, allocations: 0.885 MB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3527, allocations: 27.08 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.3529, allocations: 225.9 kB / 0.5377 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.353, allocations: 18.58 kB / 0.5377 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.353, allocations: 18.45 kB / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3532, allocations: 363.4 kB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.3533, allocations: 19.67 kB / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.3534, allocations: 25.66 kB / 0.5381 GB, free: 7.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3536, allocations: 50.8 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3536, allocations: 1.562 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002689/0.3538, allocations: 122.9 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3539, allocations: 12.14 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3539, allocations: 1.562 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3539, allocations: 3.938 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.354, allocations: 9.906 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.354, allocations: 0 / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.3541, allocations: 11.73 kB / 0.5383 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3541, allocations: 1.438 kB / 0.5383 GB, free: 7.691 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 0.000207/0.3543, allocations: 218.6 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.3544, allocations: 46.77 kB / 0.5386 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.3547, allocations: 143.6 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3547, allocations: 0 / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3547, allocations: 1.125 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3547, allocations: 7.875 kB / 0.5387 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.3553, allocations: 470.1 kB / 0.5392 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3554, allocations: 8 kB / 0.5392 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3554, allocations: 13.67 kB / 0.5392 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3554, allocations: 1.594 kB / 0.5392 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3554, allocations: 3.938 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3555, allocations: 1.188 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3555, allocations: 0 / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.3558, allocations: 226 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.3559, allocations: 122.7 kB / 0.5395 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3559, allocations: 4.844 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.356, allocations: 3.312 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.356, allocations: 6.234 kB / 0.5395 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3561, allocations: 2.906 kB / 0.5395 GB, free: 6.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006728/0.3567, allocations: 0.6628 MB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3567, allocations: 0 / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000257/0.357, allocations: 27.39 kB / 0.5402 GB, free: 6.332 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.001981/0.359, allocations: 1.057 MB / 0.5412 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3592, allocations: 51.94 kB / 0.5413 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3592, allocations: 4 kB / 0.5413 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.3593, allocations: 33.72 kB / 0.5413 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3598, allocations: 30.59 kB / 0.5414 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3637, allocations: 3.276 MB / 0.5446 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.3642, allocations: 0.8298 MB / 0.5454 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.841e-05/0.3643, allocations: 20.66 kB / 0.5454 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3645, allocations: 115.4 kB / 0.5455 GB, free: 2.125 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3645, allocations: 0 / 0.5455 GB, free: 2.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3925, allocations: 6.106 MB / 0.5515 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.719, allocations: 4.828 kB / 0.5515 GB, free: 12.08 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches