Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 117.8 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.001476/0.001476, allocations: 212.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 79.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003203/0.357, allocations: 1.673 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00097/0.358, allocations: 0.5493 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.358, allocations: 2.812 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.3583, allocations: 49.84 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.3587, allocations: 92.44 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3592, allocations: 134.6 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3594, allocations: 80.77 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3595, allocations: 21.84 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.3596, allocations: 33.59 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3597, allocations: 44.33 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3597, allocations: 4.125 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3598, allocations: 52.97 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.3599, allocations: 26.73 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.36, allocations: 30.62 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3602, allocations: 115.5 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3602, allocations: 4 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3602, allocations: 1.438 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3602, allocations: 0 / 0.5334 GB, free: 11.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005597/0.3608, allocations: 422.3 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3608, allocations: 9.625 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.3609, allocations: 36.59 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3609, allocations: 13.38 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3611, allocations: 191.7 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3611, allocations: 13.72 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3612, allocations: 7.344 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3613, allocations: 67.91 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3614, allocations: 0 / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.3614, allocations: 0 / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3614, allocations: 1.5 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.3615, allocations: 38.84 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.3619, allocations: 310.5 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.3622, allocations: 54.3 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.3623, allocations: 25.25 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3623, allocations: 1.125 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3623, allocations: 39.84 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3623, allocations: 4 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001402/0.3637, allocations: 396 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3638, allocations: 57.16 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.364, allocations: 182.9 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.364, allocations: 29.7 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.3641, allocations: 117.4 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3641, allocations: 31.67 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.3641, allocations: 21.97 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3643, allocations: 325.6 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.3644, allocations: 39.34 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3645, allocations: 44.72 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.3647, allocations: 103.6 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3647, allocations: 0 / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002997/0.365, allocations: 145.9 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3651, allocations: 5.188 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3651, allocations: 5.156 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3651, allocations: 3.938 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3652, allocations: 33.44 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3652, allocations: 0 / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.3653, allocations: 11.23 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3653, allocations: 2.125 kB / 0.536 GB, free: 8.914 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 (11): * Single equations (assignments): 11 * 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 8.907e-05/0.3654, allocations: 126.8 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.3655, allocations: 13.36 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.3658, allocations: 165 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3659, allocations: 6.125 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3659, allocations: 3.938 kB / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3659, allocations: 1.094 kB / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.3665, allocations: 482.8 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3665, allocations: 1.219 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3666, allocations: 27.86 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3666, allocations: 2.219 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3667, allocations: 5.062 kB / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3667, allocations: 2.281 kB / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3667, allocations: 0 / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.367, allocations: 248.4 kB / 0.5371 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3671, allocations: 96.31 kB / 0.5372 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3671, allocations: 2.188 kB / 0.5372 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3672, allocations: 14.39 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3673, allocations: 12.25 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3673, allocations: 7.438 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3674, allocations: 140.5 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3674, allocations: 0 / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3677, allocations: 25.81 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001537/0.3692, allocations: 1.132 MB / 0.5385 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.3696, allocations: 110.7 kB / 0.5386 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3696, allocations: 0 / 0.5386 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3697, allocations: 62.69 kB / 0.5386 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3701, allocations: 16.27 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.3722, allocations: 1.804 MB / 0.5404 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3725, allocations: 0.7107 MB / 0.5411 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.3726, allocations: 26.11 kB / 0.5411 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3726, allocations: 35.95 kB / 0.5412 GB, free: 4.539 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3727, allocations: 0 / 0.5412 GB, free: 4.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3926, allocations: 3.333 MB / 0.5444 GB, free: 2.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.96, allocations: 23.58 kB / 0.5444 GB, free: 2.711 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches