Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 118.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 198 kB / 18.73 MB, free: 4.336 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.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001625, allocations: 76.09 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4222, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003488/0.4258, allocations: 1.655 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.427, allocations: 0.5453 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.427, allocations: 1.406 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.4277, allocations: 456.6 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.4282, allocations: 284.4 kB / 0.5334 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.4286, allocations: 133.6 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.4289, allocations: 175.8 kB / 0.5337 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.429, allocations: 14.86 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4292, allocations: 106.9 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.4294, allocations: 210.6 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.4294, allocations: 6.75 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.4295, allocations: 37.98 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.4297, allocations: 89.3 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.4298, allocations: 99.69 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.4301, allocations: 261.7 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.4302, allocations: 4 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4302, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4302, allocations: 1.094 kB / 0.5345 GB, free: 10.75 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.0008785/0.4311, allocations: 0.6551 MB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4311, allocations: 20.91 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.4312, allocations: 35.95 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.4313, allocations: 51.73 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.4316, allocations: 303.1 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4316, allocations: 5.531 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.4317, allocations: 2.656 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.4318, allocations: 53.98 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4319, allocations: 1.031 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.4319, allocations: 7.984 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.4319, allocations: 4.984 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.432, allocations: 31.08 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.4326, allocations: 387.6 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.4329, allocations: 47.14 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.4329, allocations: 11.67 kB / 0.536 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.433, allocations: 4.906 kB / 0.536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.433, allocations: 35.72 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.433, allocations: 0 / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006948/0.4337, allocations: 236.7 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4338, allocations: 52.53 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4348, allocations: 0.8723 MB / 0.5372 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4349, allocations: 34.77 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.4351, allocations: 225.5 kB / 0.5375 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4351, allocations: 14.16 kB / 0.5375 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.4351, allocations: 18.59 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4353, allocations: 363.7 kB / 0.5378 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.4354, allocations: 14.52 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4355, allocations: 23.17 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4356, allocations: 52.36 kB / 0.5379 GB, free: 7.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4356, allocations: 0.9688 kB / 0.5379 GB, free: 7.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002394/0.4359, allocations: 119.5 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4359, allocations: 5.781 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4359, allocations: 0 / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4359, allocations: 1.188 kB / 0.538 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.436, allocations: 13.89 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.436, allocations: 4 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.4361, allocations: 15.28 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4361, allocations: 1.219 kB / 0.5381 GB, free: 7.832 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 0.000224/0.4364, allocations: 210.5 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.4364, allocations: 41.97 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4368, allocations: 140.2 kB / 0.5385 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4368, allocations: 0 / 0.5385 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4368, allocations: 5.406 kB / 0.5385 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4368, allocations: 3.938 kB / 0.5385 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.4375, allocations: 463.6 kB / 0.5389 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4375, allocations: 4.25 kB / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.4376, allocations: 10.03 kB / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4376, allocations: 1.531 kB / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4376, allocations: 7.938 kB / 0.5389 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4376, allocations: 3.938 kB / 0.5389 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4376, allocations: 9.328 kB / 0.5389 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.4379, allocations: 210.4 kB / 0.5391 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4381, allocations: 115 kB / 0.5392 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.4381, allocations: 5.062 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.4382, allocations: 7.656 kB / 0.5393 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.4383, allocations: 5.328 kB / 0.5393 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4383, allocations: 6.031 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009886/0.4393, allocations: 0.6555 MB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4393, allocations: 0 / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.4396, allocations: 26.45 kB / 0.5399 GB, free: 6.496 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.001727/0.4413, allocations: 1.046 MB / 0.541 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.4416, allocations: 45.22 kB / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4416, allocations: 0 / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4417, allocations: 31.69 kB / 0.541 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.4422, allocations: 35.16 kB / 0.5411 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.4465, allocations: 3.249 MB / 0.5442 GB, free: 3.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.447, allocations: 0.822 MB / 0.545 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.108e-05/0.4471, allocations: 11.97 kB / 0.5451 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.4473, allocations: 111.4 kB / 0.5452 GB, free: 2.465 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4473, allocations: 0 / 0.5452 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.4711, allocations: 6.048 MB / 0.5511 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.807, allocations: 4.953 kB / 0.5511 GB, free: 12.48 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches