Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 83.8 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3561, allocations: 62.42 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003254/0.3594, allocations: 1.684 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000917/0.3604, allocations: 0.5576 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.3604, allocations: 1.125 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3606, allocations: 41.84 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.3609, allocations: 92.02 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3613, allocations: 138.4 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3614, allocations: 83.16 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3616, allocations: 21.34 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.3616, allocations: 33.44 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.3617, allocations: 45.23 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3618, allocations: 4.906 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3619, allocations: 52.98 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.3619, allocations: 19.17 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.362, allocations: 42.12 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3622, allocations: 115.5 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3622, allocations: 1.812 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3622, allocations: 3.938 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3622, allocations: 0 / 0.5334 GB, free: 11.27 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.0005309/0.3628, allocations: 416.2 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3628, allocations: 12.25 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.3628, allocations: 40.11 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3629, allocations: 14.25 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3631, allocations: 196.8 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3631, allocations: 7.125 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3631, allocations: 7.031 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3633, allocations: 67.47 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3633, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.3633, allocations: 1.375 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3633, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3635, allocations: 51.27 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.3639, allocations: 301.7 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3641, allocations: 59.33 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.3642, allocations: 29.34 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3642, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3642, allocations: 35.94 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.3642, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001405/0.3656, allocations: 386 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3657, allocations: 56.78 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3659, allocations: 186.4 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3659, allocations: 29.64 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.366, allocations: 105.7 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.366, allocations: 35.7 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3661, allocations: 24.95 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3662, allocations: 323 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3663, allocations: 47.53 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3664, allocations: 48.31 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3667, allocations: 95.88 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3667, allocations: 0 / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003175/0.367, allocations: 149.8 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3671, allocations: 7.75 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3671, allocations: 1.125 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3671, allocations: 3.938 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3672, allocations: 36.23 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3672, allocations: 5.047 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.3673, allocations: 6.812 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3673, allocations: 6.312 kB / 0.5361 GB, free: 8.934 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 9.935e-05/0.3674, allocations: 125.7 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3674, allocations: 9.875 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.3679, allocations: 157.1 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3679, allocations: 9.969 kB / 0.5363 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3679, allocations: 3.938 kB / 0.5363 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3679, allocations: 4.969 kB / 0.5364 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.3686, allocations: 475.5 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3686, allocations: 0 / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3687, allocations: 33.38 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3687, allocations: 1.5 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3687, allocations: 9.5 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3687, allocations: 1.188 kB / 0.5369 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3687, allocations: 1.188 kB / 0.5369 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.3691, allocations: 252 kB / 0.5371 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.3692, allocations: 92.11 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3692, allocations: 2.094 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.3693, allocations: 10.17 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3693, allocations: 17.11 kB / 0.5372 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3694, allocations: 3.969 kB / 0.5372 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.3695, allocations: 139.8 kB / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3695, allocations: 0 / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3698, allocations: 29.97 kB / 0.5374 GB, free: 7.805 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.001528/0.3713, allocations: 1.131 MB / 0.5385 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3716, allocations: 113.8 kB / 0.5386 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3716, allocations: 1.156 kB / 0.5386 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3718, allocations: 53.94 kB / 0.5386 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3722, allocations: 20.11 kB / 0.5387 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.3746, allocations: 1.803 MB / 0.5404 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3749, allocations: 0.7149 MB / 0.5411 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.375, allocations: 23.05 kB / 0.5411 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3751, allocations: 35.52 kB / 0.5412 GB, free: 4.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3751, allocations: 0 / 0.5412 GB, free: 4.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.395, allocations: 3.335 MB / 0.5444 GB, free: 2.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.943, allocations: 13.64 kB / 0.5444 GB, free: 2.738 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches