Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 83.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3257, allocations: 62.43 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002909/0.3287, allocations: 1.619 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.3297, allocations: 0.5471 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3298, allocations: 1.188 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.3301, allocations: 81.45 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3304, allocations: 107 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.3308, allocations: 109.9 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.331, allocations: 89.2 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3311, allocations: 16.56 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.3312, allocations: 34.09 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3313, allocations: 55.5 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3314, allocations: 2.906 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3315, allocations: 48.81 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.3316, allocations: 24.11 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.3316, allocations: 29.25 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3319, allocations: 117.6 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3319, allocations: 4 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3319, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3319, allocations: 1.375 kB / 0.5333 GB, free: 11.33 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.0005584/0.3325, allocations: 411.6 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3325, allocations: 8.25 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3326, allocations: 40.11 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3326, allocations: 14.34 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3328, allocations: 213.1 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3329, allocations: 1.75 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3329, allocations: 7.125 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3331, allocations: 54 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3331, allocations: 5.359 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3331, allocations: 3.938 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3331, allocations: 1.375 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3332, allocations: 23.11 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3337, allocations: 308.4 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3338, allocations: 44.42 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.3339, allocations: 21.19 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3339, allocations: 0 / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3339, allocations: 31.94 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3339, allocations: 0 / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009663/0.3349, allocations: 249.9 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3349, allocations: 52.78 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3351, allocations: 219 kB / 0.535 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3352, allocations: 25.7 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3352, allocations: 110.6 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3353, allocations: 26.53 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.3353, allocations: 24.55 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.3354, allocations: 326.1 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.3355, allocations: 28.83 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.3356, allocations: 32.44 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3358, allocations: 78.55 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3358, allocations: 0 / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.336, allocations: 117.1 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.336, allocations: 8.484 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.336, allocations: 1.219 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3361, allocations: 0 / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3362, allocations: 14.09 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3362, allocations: 9.141 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3362, allocations: 6.281 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3363, allocations: 2.125 kB / 0.5357 GB, free: 9.117 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.535e-05/0.3364, allocations: 133.2 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3364, allocations: 13.62 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.3367, allocations: 133.9 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3368, allocations: 1.062 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3368, allocations: 5.219 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3368, allocations: 0 / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.3374, allocations: 426.7 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3374, allocations: 1.156 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.3375, allocations: 21.77 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3375, allocations: 1.406 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3375, allocations: 1.719 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3375, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3375, allocations: 1.281 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3378, allocations: 213.1 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3378, allocations: 95.62 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3379, allocations: 1.312 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.338, allocations: 7.906 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.338, allocations: 10.55 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.338, allocations: 2.75 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3382, allocations: 163.6 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 0 / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3384, allocations: 23.41 kB / 0.5369 GB, free: 8.055 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.001461/0.3399, allocations: 1.103 MB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.3402, allocations: 79.03 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3402, allocations: 3.938 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.3403, allocations: 40.66 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3407, allocations: 15.08 kB / 0.5382 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3428, allocations: 1.712 MB / 0.5398 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3431, allocations: 0.7086 MB / 0.5405 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.642e-05/0.3432, allocations: 20.14 kB / 0.5405 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.3433, allocations: 37.73 kB / 0.5406 GB, free: 4.918 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3433, allocations: 1.312 kB / 0.5406 GB, free: 4.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.3649, allocations: 3.153 MB / 0.5437 GB, free: 3.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.89, allocations: 5.094 kB / 0.5437 GB, free: 3.195 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches