Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",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.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001214, allocations: 197.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.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 79.81 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3109, allocations: 62.44 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00336/0.3143, allocations: 1.68 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.3153, allocations: 0.5505 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.3154, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.3156, allocations: 70.77 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.316, allocations: 110.5 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.3164, allocations: 132.4 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3166, allocations: 95.12 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3167, allocations: 21.19 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.3168, allocations: 40.2 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3169, allocations: 56.91 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3169, allocations: 3.594 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3171, allocations: 46.11 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.3171, allocations: 25.14 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.3172, allocations: 41.88 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3174, allocations: 127.1 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3174, allocations: 5.375 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3174, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3174, allocations: 0 / 0.5335 GB, free: 11.24 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.0005231/0.318, allocations: 426.6 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.318, allocations: 9.625 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3181, allocations: 36.12 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.3181, allocations: 14.25 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3183, allocations: 204.4 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3183, allocations: 11.09 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3183, allocations: 11.12 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3185, allocations: 63.48 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3185, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3185, allocations: 3.938 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3185, allocations: 1.375 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3187, allocations: 43.28 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.3191, allocations: 316.3 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3193, allocations: 59.33 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.3194, allocations: 23.97 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3194, allocations: 5.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3195, allocations: 31.94 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3195, allocations: 4 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001386/0.3209, allocations: 395.1 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3209, allocations: 52.94 kB / 0.5351 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3211, allocations: 215.5 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3212, allocations: 30.95 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.3212, allocations: 114.8 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3213, allocations: 31.91 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3213, allocations: 24.45 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3215, allocations: 327.4 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3216, allocations: 38.97 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3217, allocations: 52.56 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.322, allocations: 100.9 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.322, allocations: 0 / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003098/0.3223, allocations: 142.8 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3223, allocations: 5.219 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3223, allocations: 0 / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3223, allocations: 9.094 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3225, allocations: 32.81 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3225, allocations: 0 / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.3226, allocations: 14.52 kB / 0.5362 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3226, allocations: 2.531 kB / 0.5362 GB, free: 8.879 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.893e-05/0.3227, allocations: 129.6 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3227, allocations: 13.78 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.3231, allocations: 171.2 kB / 0.5365 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3231, allocations: 9.219 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3231, allocations: 1.219 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3231, allocations: 0 / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.3238, allocations: 486.2 kB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3238, allocations: 1.438 kB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3239, allocations: 31.72 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3239, allocations: 2.156 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3239, allocations: 5.531 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3239, allocations: 1.531 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3239, allocations: 1.344 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.3243, allocations: 263.3 kB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.3244, allocations: 89.48 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3244, allocations: 2.281 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.3245, allocations: 14.45 kB / 0.5374 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.3245, allocations: 12.39 kB / 0.5374 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3246, allocations: 3.25 kB / 0.5374 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3247, allocations: 170.2 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3247, allocations: 0 / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.325, allocations: 30.17 kB / 0.5376 GB, free: 7.711 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.001475/0.3265, allocations: 1.135 MB / 0.5387 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.3268, allocations: 101.8 kB / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3268, allocations: 1.312 kB / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.3269, allocations: 65.77 kB / 0.5388 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3273, allocations: 24.16 kB / 0.5389 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3294, allocations: 1.887 MB / 0.5407 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3297, allocations: 0.7108 MB / 0.5414 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.3298, allocations: 21.88 kB / 0.5414 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.3299, allocations: 43.92 kB / 0.5415 GB, free: 4.426 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3299, allocations: 0 / 0.5415 GB, free: 4.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.3483, allocations: 3.511 MB / 0.5449 GB, free: 2.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.056, allocations: 2.203 kB / 0.5449 GB, free: 2.535 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches