Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 118.8 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.001757/0.001758, allocations: 198 kB / 18.73 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.419/1.419, allocations: 227.4 MB / 246.9 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.2169/0.2169, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3373, allocations: 62.44 MB / 0.5305 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002784/0.3401, allocations: 1.656 MB / 0.5322 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3411, allocations: 0.5564 MB / 0.5327 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.3412, allocations: 1.031 kB / 0.5327 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3415, allocations: 90.88 kB / 0.5328 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.3418, allocations: 118.1 kB / 0.5329 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3421, allocations: 115.6 kB / 0.533 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3423, allocations: 104.1 kB / 0.5331 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3424, allocations: 33.72 kB / 0.5331 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.3425, allocations: 37.97 kB / 0.5332 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3426, allocations: 62.12 kB / 0.5332 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3427, allocations: 5.375 kB / 0.5332 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.3428, allocations: 47.45 kB / 0.5333 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.3428, allocations: 30.91 kB / 0.5333 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3429, allocations: 46.48 kB / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.3431, allocations: 136.8 kB / 0.5335 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3431, allocations: 0 / 0.5335 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3431, allocations: 5.375 kB / 0.5335 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3431, allocations: 0 / 0.5335 GB, free: 11.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004536/0.3436, allocations: 438.3 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3436, allocations: 9.625 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.3437, allocations: 36.06 kB / 0.534 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.3437, allocations: 19.7 kB / 0.534 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3439, allocations: 215.2 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.3439, allocations: 1.75 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3439, allocations: 8.5 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3441, allocations: 79.59 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3441, allocations: 5.328 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3441, allocations: 0 / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3442, allocations: 1.375 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3443, allocations: 44.7 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.3447, allocations: 344.8 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3449, allocations: 71.42 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.3449, allocations: 23.84 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3449, allocations: 1.375 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.345, allocations: 39.88 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.345, allocations: 0 / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001045/0.346, allocations: 345.6 kB / 0.5351 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3461, allocations: 53.34 kB / 0.5352 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3463, allocations: 239.3 kB / 0.5354 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3463, allocations: 29.7 kB / 0.5354 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.3464, allocations: 111.2 kB / 0.5355 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.3465, allocations: 45.14 kB / 0.5356 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3465, allocations: 26.69 kB / 0.5356 GB, free: 9.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3466, allocations: 332.2 kB / 0.5359 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3468, allocations: 43.31 kB / 0.536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.3469, allocations: 44.91 kB / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3471, allocations: 107.1 kB / 0.5361 GB, free: 9.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3471, allocations: 9.156 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002733/0.3474, allocations: 155.1 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3474, allocations: 5.531 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3474, allocations: 3.938 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3474, allocations: 1.375 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3475, allocations: 24.7 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3475, allocations: 2.016 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.3476, allocations: 11.11 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3476, allocations: 10.38 kB / 0.5363 GB, free: 9 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 (13): * Single equations (assignments): 13 * 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.383e-05/0.3477, allocations: 140.5 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.3478, allocations: 14.47 kB / 0.5365 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.3481, allocations: 193 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.3482, allocations: 5.453 kB / 0.5366 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3482, allocations: 1.438 kB / 0.5366 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3482, allocations: 0 / 0.5366 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.3488, allocations: 0.4967 MB / 0.5371 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3488, allocations: 0 / 0.5371 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.251e-05/0.3489, allocations: 24.77 kB / 0.5372 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3489, allocations: 5.219 kB / 0.5372 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.349, allocations: 10.56 kB / 0.5372 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.349, allocations: 1.25 kB / 0.5372 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.349, allocations: 0 / 0.5372 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3493, allocations: 266.1 kB / 0.5374 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.3493, allocations: 88.77 kB / 0.5375 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3494, allocations: 2.25 kB / 0.5375 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.3495, allocations: 7.312 kB / 0.5375 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3495, allocations: 13.48 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3495, allocations: 3.375 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3497, allocations: 182 kB / 0.5377 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3497, allocations: 1.062 kB / 0.5377 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.3499, allocations: 27.09 kB / 0.5377 GB, free: 7.828 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 (13): * Single equations (assignments): 13 * 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.001528/0.3515, allocations: 1.132 MB / 0.5388 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.3518, allocations: 113.4 kB / 0.5389 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3518, allocations: 0 / 0.5389 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3519, allocations: 63.8 kB / 0.539 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3523, allocations: 25.78 kB / 0.539 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3544, allocations: 1.92 MB / 0.5409 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3547, allocations: 0.7268 MB / 0.5416 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.3548, allocations: 26.19 kB / 0.5416 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.3549, allocations: 47.73 kB / 0.5417 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3549, allocations: 4 kB / 0.5417 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.3751, allocations: 3.594 MB / 0.5452 GB, free: 2.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.265, allocations: 1.984 kB / 0.5452 GB, free: 2.602 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches