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.001263/0.001263, 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.001484/0.001484, allocations: 201.2 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.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3458, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004197/0.35, allocations: 2.037 MB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3527, allocations: 1.343 MB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.3529, allocations: 8.062 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.3533, allocations: 68.94 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.3539, allocations: 205.3 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.3556, allocations: 0.602 MB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000649/0.3562, allocations: 313.3 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.3565, allocations: 88.67 kB / 0.5351 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.3569, allocations: 129.8 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.3573, allocations: 189.3 kB / 0.5354 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.3574, allocations: 13.09 kB / 0.5354 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3577, allocations: 69.09 kB / 0.5355 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.3579, allocations: 144.3 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.3581, allocations: 175.9 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.3589, allocations: 425.5 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3589, allocations: 0 / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3589, allocations: 1.094 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.3589, allocations: 0 / 0.5362 GB, free: 9.277 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.001602/0.3606, allocations: 0.8074 MB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3606, allocations: 9.625 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.3607, allocations: 38.94 kB / 0.537 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.3611, allocations: 77.22 kB / 0.5371 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.3623, allocations: 485.8 kB / 0.5375 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3623, allocations: 8.75 kB / 0.5375 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.3624, allocations: 18.66 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.3628, allocations: 145.4 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3628, allocations: 1.219 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3629, allocations: 4.969 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3629, allocations: 2.312 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.3631, allocations: 92.53 kB / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3644, allocations: 0.7044 MB / 0.5385 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3646, allocations: 120.8 kB / 0.5386 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3647, allocations: 46.23 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3648, allocations: 6.531 kB / 0.5387 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3648, allocations: 39.86 kB / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.3648, allocations: 0 / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00166/0.3665, allocations: 0.5551 MB / 0.5392 GB, free: 6.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3666, allocations: 79.52 kB / 0.5393 GB, free: 6.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.3678, allocations: 0.9287 MB / 0.5402 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3679, allocations: 35.42 kB / 0.5402 GB, free: 6.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.3681, allocations: 270.1 kB / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.3682, allocations: 53.39 kB / 0.5406 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.3683, allocations: 33.08 kB / 0.5406 GB, free: 5.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3684, allocations: 316.2 kB / 0.5409 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.3686, allocations: 62.64 kB / 0.5409 GB, free: 5.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.3688, allocations: 85.8 kB / 0.541 GB, free: 5.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.3692, allocations: 164.2 kB / 0.5412 GB, free: 5.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3692, allocations: 1.062 kB / 0.5412 GB, free: 5.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006026/0.3698, allocations: 240.6 kB / 0.5414 GB, free: 5.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3699, allocations: 4.469 kB / 0.5414 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3699, allocations: 5.062 kB / 0.5414 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3699, allocations: 5.125 kB / 0.5414 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3701, allocations: 35.94 kB / 0.5415 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3701, allocations: 1.125 kB / 0.5415 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3703, allocations: 15.8 kB / 0.5415 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3704, allocations: 8.5 kB / 0.5415 GB, free: 5.344 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.0002822/0.3706, allocations: 219.7 kB / 0.5417 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.3708, allocations: 57.47 kB / 0.5418 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.3715, allocations: 302.2 kB / 0.542 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3715, allocations: 5.75 kB / 0.542 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3715, allocations: 1.094 kB / 0.542 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3715, allocations: 1.062 kB / 0.5421 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.3728, allocations: 0.8182 MB / 0.5428 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3729, allocations: 0 / 0.5428 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.373, allocations: 36.41 kB / 0.5429 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.373, allocations: 1.219 kB / 0.5429 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3731, allocations: 10.17 kB / 0.5429 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3731, allocations: 8.938 kB / 0.5429 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3731, allocations: 1.25 kB / 0.5429 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.3737, allocations: 424 kB / 0.5433 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.3739, allocations: 150.4 kB / 0.5435 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.374, allocations: 1.5 kB / 0.5435 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.3742, allocations: 23.67 kB / 0.5435 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.3742, allocations: 14.95 kB / 0.5435 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3743, allocations: 8.797 kB / 0.5435 GB, free: 3.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009323/0.3752, allocations: 0.6788 MB / 0.5442 GB, free: 3.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3752, allocations: 0 / 0.5442 GB, free: 3.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3756, allocations: 56 kB / 0.5442 GB, free: 3.379 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.00172/0.3773, allocations: 1.241 MB / 0.5454 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3778, allocations: 179.7 kB / 0.5456 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3778, allocations: 4 kB / 0.5456 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.378, allocations: 83.89 kB / 0.5457 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.3787, allocations: 81.75 kB / 0.5458 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/0.3856, allocations: 5.184 MB / 0.5508 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.3863, allocations: 0.8725 MB / 0.5517 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003468/0.3867, allocations: 99.81 kB / 0.5518 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.387, allocations: 175.4 kB / 0.5519 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3871, allocations: 0 / 0.5519 GB, free: 11.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.423, allocations: 10.27 MB / 0.562 GB, free: 1.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.628, allocations: 7.516 kB / 0.562 GB, free: 1.273 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