Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 117.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.001361/0.001361, allocations: 200.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.388/1.388, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 83.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002979/0.3213, allocations: 1.614 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.3224, allocations: 0.5407 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3224, allocations: 1.781 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3227, allocations: 93.58 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.323, allocations: 105.5 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3233, allocations: 101 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3234, allocations: 87.3 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3236, allocations: 13.62 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.3236, allocations: 35.03 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3237, allocations: 56.69 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3237, allocations: 2.75 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.3238, allocations: 44.86 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.3239, allocations: 28.16 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.324, allocations: 38.5 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3242, allocations: 111.1 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3242, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3242, allocations: 3.938 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3242, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000515/0.3247, allocations: 420.9 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3248, allocations: 9.625 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3248, allocations: 36.12 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3248, allocations: 18.34 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3251, allocations: 204.5 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.3251, allocations: 1.75 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3251, allocations: 11.06 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3252, allocations: 59.02 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3253, allocations: 0 / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.3253, allocations: 0 / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3253, allocations: 1.406 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.3254, allocations: 26.88 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.3258, allocations: 304 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3259, allocations: 39.88 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.326, allocations: 23.31 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.326, allocations: 1.188 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.326, allocations: 36.28 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.326, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008569/0.3269, allocations: 225.8 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3269, allocations: 60.53 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3272, allocations: 235.1 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3272, allocations: 29.7 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.3273, allocations: 110.8 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3273, allocations: 31.39 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3274, allocations: 19.34 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3275, allocations: 322.2 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.3276, allocations: 25.77 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.3277, allocations: 27.14 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3278, allocations: 63.3 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3278, allocations: 1.156 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.3281, allocations: 111.7 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3281, allocations: 5.125 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3281, allocations: 1.469 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3281, allocations: 0 / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.3282, allocations: 22.36 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3283, allocations: 7.938 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.3283, allocations: 3.031 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3283, allocations: 6.953 kB / 0.5358 GB, free: 9.043 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.0001026/0.3284, allocations: 124.8 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.3285, allocations: 10.83 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3287, allocations: 120.3 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3288, allocations: 5.375 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3288, allocations: 3.938 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3288, allocations: 3.984 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.3293, allocations: 405.8 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3293, allocations: 0 / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.3294, allocations: 21.36 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3294, allocations: 1.797 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3294, allocations: 5.312 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3294, allocations: 1.406 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3294, allocations: 0 / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3297, allocations: 208.7 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3298, allocations: 92.2 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3298, allocations: 2.125 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.3299, allocations: 15.2 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.3299, allocations: 7.25 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3299, allocations: 6.344 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3301, allocations: 182.9 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 0 / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.3303, allocations: 22.86 kB / 0.537 GB, free: 7.988 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.002059/0.3324, allocations: 1.088 MB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3326, allocations: 70.59 kB / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3327, allocations: 0 / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.3328, allocations: 34.02 kB / 0.5382 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3331, allocations: 26.78 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3351, allocations: 1.708 MB / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3354, allocations: 0.7129 MB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.659e-05/0.3355, allocations: 23.92 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.3355, allocations: 32.73 kB / 0.5406 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3355, allocations: 1.062 kB / 0.5406 GB, free: 4.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.3585, allocations: 3.19 MB / 0.5437 GB, free: 3.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.112, allocations: 5.547 kB / 0.5437 GB, free: 3.121 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches