Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, 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.002035/0.002035, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.2205/0.2205, allocations: 46.12 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 88.06 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3242, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002903/0.3271, allocations: 1.588 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3288, allocations: 1.162 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.3289, allocations: 5.156 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.3291, allocations: 28.78 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.3294, allocations: 81.09 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3297, allocations: 122.2 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3299, allocations: 62.78 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.33, allocations: 23.66 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-05/0.3301, allocations: 22.36 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3302, allocations: 38.53 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.3302, allocations: 4.656 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3304, allocations: 95.05 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.3305, allocations: 10.69 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.3305, allocations: 29.34 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3308, allocations: 146 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3308, allocations: 1.375 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3308, allocations: 4 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3308, allocations: 0 / 0.534 GB, free: 10.76 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.000583/0.3314, allocations: 395.6 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3315, allocations: 9.625 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.3315, allocations: 36.12 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.3316, allocations: 7.641 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3318, allocations: 205.7 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3318, allocations: 1.75 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3319, allocations: 5.75 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.332, allocations: 69.08 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3321, allocations: 3.938 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3321, allocations: 1.375 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3321, allocations: 0 / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3322, allocations: 25.72 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3327, allocations: 292.2 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3329, allocations: 40.44 kB / 0.535 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.3329, allocations: 21.19 kB / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.333, allocations: 0 / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.333, allocations: 31.94 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.333, allocations: 0 / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005607/0.3336, allocations: 154 kB / 0.5352 GB, free: 9.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.3337, allocations: 78.48 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3338, allocations: 144.9 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3338, allocations: 25.7 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.3339, allocations: 98.81 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3339, allocations: 18.61 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.334, allocations: 19.22 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3341, allocations: 324.1 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.3342, allocations: 24.3 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.3343, allocations: 39.44 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3344, allocations: 48.52 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3345, allocations: 8.031 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.3347, allocations: 83.25 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3347, allocations: 9.578 kB / 0.5361 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3347, allocations: 0 / 0.5361 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3347, allocations: 0 / 0.5361 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.3348, allocations: 13.56 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3348, allocations: 1.25 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.336e-05/0.3348, allocations: 16.05 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3349, allocations: 1.156 kB / 0.5361 GB, free: 8.641 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 8.53e-05/0.3349, allocations: 117.9 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.335, allocations: 7.203 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.3352, allocations: 96.2 kB / 0.5363 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3352, allocations: 1 kB / 0.5363 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3353, allocations: 1 kB / 0.5363 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3353, allocations: 7.875 kB / 0.5363 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.3357, allocations: 359 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3357, allocations: 1.125 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.3358, allocations: 17.7 kB / 0.5367 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3358, allocations: 288 / 0.5367 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3358, allocations: 5.125 kB / 0.5367 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3358, allocations: 0 / 0.5367 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3358, allocations: 0.9688 kB / 0.5367 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3361, allocations: 198.4 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3361, allocations: 87.25 kB / 0.537 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3362, allocations: 5.156 kB / 0.537 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.3363, allocations: 7.516 kB / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.3363, allocations: 5.094 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.3363, allocations: 2.344 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3364, allocations: 116.7 kB / 0.5371 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3364, allocations: 0 / 0.5371 GB, free: 7.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3367, allocations: 44.3 kB / 0.5372 GB, free: 7.664 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.002077/0.3388, allocations: 1.091 MB / 0.5382 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.339, allocations: 55.7 kB / 0.5383 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.339, allocations: 7.938 kB / 0.5383 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.3391, allocations: 24.8 kB / 0.5383 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3395, allocations: 28.31 kB / 0.5383 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.3412, allocations: 1.452 MB / 0.5398 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3415, allocations: 0.6974 MB / 0.5404 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.3416, allocations: 22.39 kB / 0.5405 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.3417, allocations: 30.03 kB / 0.5405 GB, free: 4.691 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3417, allocations: 0 / 0.5405 GB, free: 4.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3667, allocations: 3.238 MB / 0.5436 GB, free: 2.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.896, allocations: 14.12 kB / 0.5437 GB, free: 2.816 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches