Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001826/0.001826, allocations: 117.6 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.002041/0.002041, allocations: 199.9 kB / 18.74 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.458/1.458, 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.235/0.235, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3656, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002861/0.3685, allocations: 1.613 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3697, allocations: 0.5489 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3697, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3701, allocations: 123.1 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.3705, allocations: 126.1 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.3708, allocations: 112.1 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3711, allocations: 108.7 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3712, allocations: 11.94 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.3713, allocations: 47 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3714, allocations: 82.53 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3715, allocations: 2.75 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.3716, allocations: 48.86 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.3716, allocations: 32.22 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.3717, allocations: 42.5 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3719, allocations: 119.2 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3719, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.3719, allocations: 5.359 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3719, allocations: 0 / 0.5335 GB, free: 11.23 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.0005091/0.3724, allocations: 440.8 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3725, allocations: 9.625 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.3725, allocations: 40.12 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3726, allocations: 14.34 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3728, allocations: 222.8 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3728, allocations: 1.75 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3728, allocations: 7.109 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.373, allocations: 57.98 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.373, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.373, allocations: 0 / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.373, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.3731, allocations: 27.11 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.3736, allocations: 316.5 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3737, allocations: 44.19 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.3738, allocations: 20.59 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3738, allocations: 1.312 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3738, allocations: 36.09 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3738, allocations: 0 / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.3748, allocations: 252.2 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3749, allocations: 60.66 kB / 0.535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.3752, allocations: 278.3 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3752, allocations: 26.89 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.3753, allocations: 115 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.3754, allocations: 27.23 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3754, allocations: 19.88 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3755, allocations: 332.5 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.3756, allocations: 28.05 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.3757, allocations: 37 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3759, allocations: 74.42 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3759, allocations: 0 / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002618/0.3762, allocations: 118 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3762, allocations: 8.5 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3762, allocations: 5.25 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3762, allocations: 0 / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3763, allocations: 22.64 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3764, allocations: 3.938 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.3764, allocations: 2.969 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3764, allocations: 6.75 kB / 0.536 GB, free: 8.938 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.0001055/0.3765, allocations: 134.3 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.3766, allocations: 14.78 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.3769, allocations: 136.6 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3769, allocations: 0 / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3769, allocations: 5.125 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3769, allocations: 0 / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.3775, allocations: 436.8 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3775, allocations: 1 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.3776, allocations: 24.98 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3776, allocations: 5.453 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3776, allocations: 6.25 kB / 0.5367 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3776, allocations: 0.9062 kB / 0.5367 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3776, allocations: 0 / 0.5367 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3779, allocations: 222.5 kB / 0.537 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.378, allocations: 100.2 kB / 0.5371 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.378, allocations: 6.25 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3781, allocations: 3.156 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3781, allocations: 7.234 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3781, allocations: 2.156 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.3783, allocations: 208.7 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3783, allocations: 1.344 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3786, allocations: 22.42 kB / 0.5373 GB, free: 7.844 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.001506/0.3801, allocations: 1.105 MB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3803, allocations: 74.75 kB / 0.5384 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3804, allocations: 0 / 0.5384 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3805, allocations: 40.42 kB / 0.5385 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3809, allocations: 28.53 kB / 0.5385 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.383, allocations: 1.85 MB / 0.5403 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3833, allocations: 0.723 MB / 0.541 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.3834, allocations: 24.11 kB / 0.541 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.3835, allocations: 41.67 kB / 0.5411 GB, free: 4.621 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3835, allocations: 0 / 0.5411 GB, free: 4.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4064, allocations: 3.431 MB / 0.5444 GB, free: 2.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.055, allocations: 14.08 kB / 0.5445 GB, free: 2.766 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches