Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247 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.2229/0.2229, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.318, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002773/0.3208, allocations: 1.598 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3224, allocations: 1.156 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.3225, allocations: 1 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.3227, allocations: 24.22 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.323, allocations: 86.05 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.3232, allocations: 83.17 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3234, allocations: 70.53 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.3235, allocations: 14.75 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.3235, allocations: 24.64 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3237, allocations: 40.25 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3237, allocations: 3.375 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3239, allocations: 98.48 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.3239, allocations: 14.95 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.324, allocations: 21.97 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3242, allocations: 146.2 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3242, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3242, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3242, allocations: 4 kB / 0.5339 GB, free: 10.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005022/0.3247, allocations: 399 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3248, allocations: 9.625 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.3248, allocations: 36.06 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3249, allocations: 9.016 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3251, allocations: 194.7 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3251, allocations: 5.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3251, allocations: 5.688 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3253, allocations: 73.08 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3253, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3253, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3253, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.3254, allocations: 24.3 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.3258, allocations: 280.1 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.326, allocations: 47 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.326, allocations: 19.81 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3261, allocations: 3.984 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3261, allocations: 31.94 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3261, allocations: 0 / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005294/0.3266, allocations: 141.9 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.3267, allocations: 78.48 kB / 0.5352 GB, free: 9.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3269, allocations: 147.5 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3269, allocations: 31.08 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.3269, allocations: 94.83 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.327, allocations: 18.59 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.327, allocations: 17.84 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3272, allocations: 328.1 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.3272, allocations: 14.98 kB / 0.5359 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.3273, allocations: 38.2 kB / 0.5359 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3274, allocations: 48.2 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3275, allocations: 1.375 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001749/0.3276, allocations: 83.91 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3277, allocations: 5.5 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3277, allocations: 0 / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3277, allocations: 1.375 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.3277, allocations: 13.61 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3278, allocations: 0 / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.3278, allocations: 8.062 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3278, allocations: 5.312 kB / 0.5361 GB, free: 8.723 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 (5): * Single equations (assignments): 5 * 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.84e-05/0.3279, allocations: 122 kB / 0.5362 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.328, allocations: 6.703 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.3282, allocations: 85.59 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3282, allocations: 0 / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3282, allocations: 1.375 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3282, allocations: 3.938 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.3287, allocations: 353.8 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3287, allocations: 1.125 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.3287, allocations: 21.61 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3287, allocations: 0 / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3288, allocations: 5.188 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3288, allocations: 192 / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3288, allocations: 5.375 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.329, allocations: 183.8 kB / 0.5368 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3291, allocations: 82.12 kB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3291, allocations: 5.469 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.3292, allocations: 6.734 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.3292, allocations: 2.5 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3292, allocations: 4.969 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.3293, allocations: 116.9 kB / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3293, allocations: 0 / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3296, allocations: 40.05 kB / 0.5371 GB, free: 7.766 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 (5): * Single equations (assignments): 5 * 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.002076/0.3317, allocations: 1.097 MB / 0.5381 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3319, allocations: 52.03 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3319, allocations: 1.125 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.332, allocations: 26.86 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3323, allocations: 17.92 kB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3339, allocations: 1.432 MB / 0.5396 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3342, allocations: 0.6928 MB / 0.5403 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.3343, allocations: 27.06 kB / 0.5403 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.3344, allocations: 30.83 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3344, allocations: 0 / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.3612, allocations: 3.215 MB / 0.5435 GB, free: 2.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.077, allocations: 5.891 kB / 0.5435 GB, free: 2.941 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches