Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001277/0.001277, allocations: 121.1 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.001241/0.001241, allocations: 204.6 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.37/1.37, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 75.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002833/0.3309, allocations: 1.623 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.3318, allocations: 0.5403 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.3319, allocations: 0 / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.3322, allocations: 86.08 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3325, allocations: 106.1 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.3327, allocations: 107.4 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3329, allocations: 83.5 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.333, allocations: 21.61 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.3331, allocations: 32.41 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3332, allocations: 63.56 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3332, allocations: 3.094 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.811e-05/0.3333, allocations: 41.45 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.3334, allocations: 27.31 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.3334, allocations: 30.28 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3336, allocations: 117.4 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3336, allocations: 0 / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3336, allocations: 1.469 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3336, allocations: 4 kB / 0.5335 GB, free: 11.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005156/0.3342, allocations: 407.1 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3342, allocations: 8.938 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.3343, allocations: 40.02 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.3343, allocations: 14.91 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3345, allocations: 207.8 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3345, allocations: 1.719 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3346, allocations: 2.781 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3347, allocations: 63.12 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3347, allocations: 5.109 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3347, allocations: 0 / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3348, allocations: 5.062 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3349, allocations: 27.48 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.3353, allocations: 296.7 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3354, allocations: 56.39 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.3355, allocations: 16.59 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3355, allocations: 5.281 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3355, allocations: 34.56 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3355, allocations: 1.156 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008759/0.3364, allocations: 242.4 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3365, allocations: 55.41 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3367, allocations: 215.1 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3367, allocations: 27.08 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.3368, allocations: 109.6 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.3368, allocations: 26.5 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3369, allocations: 32.52 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3371, allocations: 321.6 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.3371, allocations: 28.48 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.3372, allocations: 29.84 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3374, allocations: 72.8 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3374, allocations: 1.375 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.3376, allocations: 116.3 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3376, allocations: 5.5 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3377, allocations: 3.984 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3377, allocations: 5.312 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.3378, allocations: 17.69 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.3378, allocations: 7.922 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.3378, allocations: 4.125 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3379, allocations: 1.375 kB / 0.5359 GB, free: 9.023 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 (8): * Single equations (assignments): 8 * 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.0001018/0.338, allocations: 132.8 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.338, allocations: 13.41 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.3383, allocations: 131 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3383, allocations: 5.031 kB / 0.5361 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3383, allocations: 7.875 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3384, allocations: 0 / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.3389, allocations: 424.1 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3389, allocations: 0 / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.339, allocations: 21.98 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.339, allocations: 1.219 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.339, allocations: 1.25 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.339, allocations: 1.375 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.339, allocations: 1.312 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.3393, allocations: 212.3 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.3394, allocations: 95.41 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.3394, allocations: 9.75 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3395, allocations: 3.094 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3396, allocations: 7.859 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.3396, allocations: 1.906 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3397, allocations: 172.3 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3397, allocations: 0 / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.34, allocations: 22.62 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002091/0.3421, allocations: 1.097 MB / 0.5381 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3423, allocations: 76 kB / 0.5382 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3423, allocations: 4 kB / 0.5382 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.3424, allocations: 43.56 kB / 0.5383 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3428, allocations: 15.77 kB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3448, allocations: 1.705 MB / 0.5399 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.3452, allocations: 0.7162 MB / 0.5406 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.3453, allocations: 21.14 kB / 0.5407 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.3453, allocations: 34.02 kB / 0.5407 GB, free: 4.828 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3453, allocations: 96 / 0.5407 GB, free: 4.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.3687, allocations: 3.157 MB / 0.5438 GB, free: 3.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.962, allocations: 1.125 kB / 0.5438 GB, free: 3.102 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches