Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 117.7 kB / 17.78 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.001356/0.001356, allocations: 204.6 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.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 75.89 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3561, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00311/0.3593, allocations: 1.641 MB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.3602, allocations: 0.6885 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.3603, allocations: 1.625 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3605, allocations: 30.77 kB / 0.5328 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.3607, allocations: 37.41 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.3607, allocations: 0 / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3609, allocations: 32.45 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.361, allocations: 5.719 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.361, allocations: 9.156 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.3611, allocations: 27.16 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3611, allocations: 1.188 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.875e-05/0.3611, allocations: 7.062 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.3612, allocations: 19.73 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.3612, allocations: 21.16 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3614, allocations: 69.73 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3614, allocations: 1.344 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3614, allocations: 3.938 kB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3614, allocations: 0 / 0.533 GB, free: 11.4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003928/0.3618, allocations: 369 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3618, allocations: 9.062 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.3619, allocations: 46.47 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.3619, allocations: 6.594 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3621, allocations: 171.9 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3621, allocations: 2.25 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3621, allocations: 2.125 kB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3623, allocations: 131.9 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3623, allocations: 3.938 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3623, allocations: 6.25 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.3623, allocations: 17.61 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.3624, allocations: 47.3 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.363, allocations: 0.8904 MB / 0.5347 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.3631, allocations: 170.5 kB / 0.5349 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.3632, allocations: 88.06 kB / 0.5349 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3632, allocations: 75.28 kB / 0.535 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3632, allocations: 107.2 kB / 0.5351 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3632, allocations: 0 / 0.5351 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.26e-05/0.3633, allocations: 41.77 kB / 0.5352 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3634, allocations: 128.1 kB / 0.5353 GB, free: 9.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3636, allocations: 188.8 kB / 0.5355 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3636, allocations: 25.7 kB / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.3637, allocations: 151.4 kB / 0.5356 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-06/0.3637, allocations: 6.75 kB / 0.5356 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.3637, allocations: 43.36 kB / 0.5357 GB, free: 8.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3639, allocations: 315 kB / 0.536 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.3639, allocations: 37.8 kB / 0.536 GB, free: 8.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3641, allocations: 158 kB / 0.5362 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.3643, allocations: 206.3 kB / 0.5364 GB, free: 7.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3643, allocations: 1.375 kB / 0.5364 GB, free: 7.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002946/0.3646, allocations: 201 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3646, allocations: 8.25 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3647, allocations: 4.125 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3647, allocations: 5.5 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3648, allocations: 45.41 kB / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3648, allocations: 13.42 kB / 0.5366 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.3649, allocations: 25.38 kB / 0.5366 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.365, allocations: 13.38 kB / 0.5367 GB, free: 7.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001183/0.3651, allocations: 214.2 kB / 0.5369 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.3652, allocations: 119.8 kB / 0.537 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.3652, allocations: 118.3 kB / 0.5371 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-05/0.3653, allocations: 181.2 kB / 0.5373 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-05/0.3654, allocations: 189.5 kB / 0.5374 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/0.3654, allocations: 177.4 kB / 0.5376 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3657, allocations: 428.4 kB / 0.538 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/0.3657, allocations: 102 kB / 0.5381 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.3658, allocations: 101.9 kB / 0.5382 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.3659, allocations: 185.2 kB / 0.5384 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.3659, allocations: 181.8 kB / 0.5386 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.554e-05/0.366, allocations: 185.4 kB / 0.5387 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.724e-05/0.3661, allocations: 176.3 kB / 0.5389 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3662, allocations: 318.4 kB / 0.5392 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3663, allocations: 188.5 kB / 0.5394 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/0.3664, allocations: 186.2 kB / 0.5396 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.3665, allocations: 105 kB / 0.5397 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.3666, allocations: 181.2 kB / 0.5398 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3666, allocations: 102 kB / 0.5399 GB, free: 4.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3668, allocations: 138.4 kB / 0.5401 GB, free: 4.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3668, allocations: 0 / 0.5401 GB, free: 4.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000304/0.3671, allocations: 11.97 kB / 0.5401 GB, free: 4.148 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 (0): * Single equations (assignments): 0 * 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.0008072/0.3679, allocations: 0.9045 MB / 0.541 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.3681, allocations: 77.84 kB / 0.541 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3681, allocations: 0 / 0.541 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3681, allocations: 5.062 kB / 0.541 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3684, allocations: 460.3 kB / 0.5415 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3703, allocations: 1.887 MB / 0.5433 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3706, allocations: 0.699 MB / 0.544 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.3709, allocations: 55.77 kB / 0.5441 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.3709, allocations: 25.86 kB / 0.5441 GB, free: 204 kB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3709, allocations: 0 / 0.5441 GB, free: 204 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.3915, allocations: 2.127 MB / 0.5462 GB, free: 15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.804, allocations: 6.344 kB / 0.5462 GB, free: 15 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches