Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, 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.2141/0.2141, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 91.83 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002796/0.3338, allocations: 1.599 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.3348, allocations: 0.5625 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3349, allocations: 1.375 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.3351, allocations: 28.89 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.3354, allocations: 75.86 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.3357, allocations: 117.8 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3358, allocations: 64.53 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.336, allocations: 23.11 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.336, allocations: 26.03 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.3361, allocations: 25.8 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3361, allocations: 7.719 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3363, allocations: 101.4 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.3364, allocations: 15.3 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.3364, allocations: 25.23 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.3367, allocations: 148.7 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3367, allocations: 0 / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3367, allocations: 9.312 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3367, allocations: 0 / 0.5334 GB, free: 11.25 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.0005069/0.3372, allocations: 408.8 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3372, allocations: 9.625 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.3373, allocations: 36.11 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.3373, allocations: 7.641 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.3376, allocations: 193.9 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3376, allocations: 5.688 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3376, allocations: 3.125 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3377, allocations: 67.72 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3378, allocations: 0 / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3378, allocations: 5.359 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3378, allocations: 0 / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.3379, allocations: 21.73 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.3383, allocations: 300.3 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3385, allocations: 47.19 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.3385, allocations: 27.92 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3385, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3386, allocations: 35.94 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3386, allocations: 0 / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005888/0.3392, allocations: 186.4 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3393, allocations: 78.48 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3394, allocations: 160.6 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3394, allocations: 27.08 kB / 0.5349 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.3395, allocations: 90.89 kB / 0.535 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3396, allocations: 26.47 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.3396, allocations: 28.59 kB / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3397, allocations: 325.5 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.3398, allocations: 24.48 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.3399, allocations: 44.66 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3401, allocations: 69.34 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3401, allocations: 4.031 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002206/0.3403, allocations: 107.2 kB / 0.5356 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3404, allocations: 9.906 kB / 0.5356 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3404, allocations: 0 / 0.5356 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3404, allocations: 1.344 kB / 0.5356 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.3405, allocations: 21.27 kB / 0.5357 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3405, allocations: 4 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.3406, allocations: 15.77 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3406, allocations: 6.656 kB / 0.5357 GB, free: 9.051 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 9.64e-05/0.3407, allocations: 117.7 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3407, allocations: 9.453 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.341, allocations: 123.1 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.341, allocations: 1.188 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.341, allocations: 1.125 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.341, allocations: 3.938 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.3415, allocations: 398.3 kB / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3415, allocations: 0 / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.3416, allocations: 16.52 kB / 0.5363 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3416, allocations: 3.938 kB / 0.5363 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3416, allocations: 1.125 kB / 0.5363 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3416, allocations: 1.125 kB / 0.5363 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3417, allocations: 0 / 0.5363 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.3419, allocations: 198.4 kB / 0.5365 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.342, allocations: 83.34 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.342, allocations: 9.062 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.3421, allocations: 7.422 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.3421, allocations: 2.25 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3421, allocations: 2.344 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.657e-05/0.3422, allocations: 121.3 kB / 0.5367 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3422, allocations: 4 kB / 0.5367 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3425, allocations: 47.02 kB / 0.5368 GB, free: 8.043 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 (7): * Single equations (assignments): 7 * 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.002078/0.3446, allocations: 1.12 MB / 0.5379 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3449, allocations: 81.55 kB / 0.538 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3449, allocations: 0 / 0.538 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.345, allocations: 30.11 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3453, allocations: 25.83 kB / 0.538 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3472, allocations: 1.538 MB / 0.5395 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3475, allocations: 0.6917 MB / 0.5402 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.284e-05/0.3476, allocations: 30.06 kB / 0.5402 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.3477, allocations: 27.05 kB / 0.5402 GB, free: 5.004 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3477, allocations: 1.156 kB / 0.5402 GB, free: 5.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3722, allocations: 3.497 MB / 0.5437 GB, free: 3.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.237, allocations: 13.88 kB / 0.5437 GB, free: 3.023 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches