Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.352, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003208/0.3553, allocations: 1.614 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3564, allocations: 0.547 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.3565, allocations: 1.812 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.3569, allocations: 80.05 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.3573, allocations: 99.55 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.3577, allocations: 123.6 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3579, allocations: 78.14 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.358, allocations: 21.59 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.358, allocations: 32.41 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3582, allocations: 55.31 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3582, allocations: 8.125 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.3583, allocations: 44.86 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.3583, allocations: 16.19 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3584, allocations: 41.16 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.3586, allocations: 109.7 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3586, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3586, allocations: 1.375 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3586, allocations: 0 / 0.5333 GB, free: 11.31 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.0004673/0.3591, allocations: 415.6 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3591, allocations: 9.625 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.3592, allocations: 40.03 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.3592, allocations: 12.84 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3594, allocations: 209.8 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3594, allocations: 1.719 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3594, allocations: 5.906 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3596, allocations: 62.69 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3596, allocations: 1.125 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3597, allocations: 3.984 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3597, allocations: 5.125 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3598, allocations: 31.91 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.3602, allocations: 299.8 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3603, allocations: 48.48 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.3604, allocations: 12.61 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.3604, allocations: 5.203 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3605, allocations: 39.69 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3605, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009241/0.3614, allocations: 239.1 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.3615, allocations: 59.34 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3617, allocations: 215.6 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3617, allocations: 25.7 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3617, allocations: 109.6 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.3618, allocations: 30.98 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.3618, allocations: 19.97 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.3619, allocations: 326.6 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.362, allocations: 36.59 kB / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.3621, allocations: 25.2 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3623, allocations: 73.5 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3623, allocations: 0 / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.3625, allocations: 114 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3625, allocations: 4.125 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3625, allocations: 1.375 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3626, allocations: 4 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3627, allocations: 21.73 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3627, allocations: 5.312 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.3628, allocations: 6.734 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3628, allocations: 2.75 kB / 0.5357 GB, free: 9.09 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.563e-05/0.3629, allocations: 124.8 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3629, allocations: 13.41 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.3632, allocations: 137.8 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3632, allocations: 5.312 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3632, allocations: 3.938 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3633, allocations: 0 / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3638, allocations: 423.9 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3638, allocations: 1.125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.3639, allocations: 21.11 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3639, allocations: 5.125 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3639, allocations: 4.969 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3639, allocations: 1.062 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3639, allocations: 5.078 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3642, allocations: 213.4 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3643, allocations: 96.91 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3643, allocations: 1.344 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.3644, allocations: 11.23 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3644, allocations: 3.344 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3645, allocations: 2.406 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3646, allocations: 170.8 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3646, allocations: 0 / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3649, allocations: 19.47 kB / 0.537 GB, free: 8.02 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.001467/0.3663, allocations: 1.103 MB / 0.538 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3666, allocations: 71.3 kB / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3666, allocations: 0 / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3667, allocations: 39.77 kB / 0.5381 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3671, allocations: 17.77 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3688, allocations: 1.719 MB / 0.5398 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3691, allocations: 0.7125 MB / 0.5405 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.3692, allocations: 28.92 kB / 0.5406 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.3693, allocations: 36.92 kB / 0.5406 GB, free: 4.875 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3693, allocations: 1.188 kB / 0.5406 GB, free: 4.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.3888, allocations: 3.152 MB / 0.5437 GB, free: 3.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.858, allocations: 4.328 kB / 0.5437 GB, free: 3.156 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches