Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 117.2 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 64.09 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002627/0.3729, allocations: 1.646 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.3736, allocations: 451.4 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.3736, allocations: 1.531 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3739, allocations: 64.34 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.3741, allocations: 48.17 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.3746, allocations: 175.4 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.3748, allocations: 80.27 kB / 0.5208 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3749, allocations: 21.73 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.375, allocations: 40.22 kB / 0.5209 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3751, allocations: 42.28 kB / 0.5209 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3751, allocations: 4 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3753, allocations: 52.06 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.3754, allocations: 33.84 kB / 0.521 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.3754, allocations: 32.67 kB / 0.5211 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3756, allocations: 114.6 kB / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3756, allocations: 0 / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.3757, allocations: 1.672 kB / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3757, allocations: 0 / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005292/0.3762, allocations: 424.1 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3763, allocations: 13.69 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.3763, allocations: 32.83 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3763, allocations: 14.83 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3765, allocations: 203.7 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3765, allocations: 6.656 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3766, allocations: 3.656 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3768, allocations: 70.27 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3768, allocations: 5.078 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3768, allocations: 4 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3768, allocations: 1.734 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.377, allocations: 46.45 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3774, allocations: 317.8 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3777, allocations: 60.11 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.3778, allocations: 30.64 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.3778, allocations: 5.562 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3779, allocations: 36.33 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3779, allocations: 0 / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001617/0.3795, allocations: 418.1 kB / 0.5228 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3796, allocations: 56.53 kB / 0.5228 GB, free: 228 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3798, allocations: 198.6 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3798, allocations: 25.7 kB / 0.5231 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.3799, allocations: 105 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3799, allocations: 47.38 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.38, allocations: 22.91 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3801, allocations: 331.7 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3803, allocations: 54.73 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3804, allocations: 53.28 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3807, allocations: 122.2 kB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3807, allocations: 0 / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003781/0.3811, allocations: 175.2 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3812, allocations: 4.438 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3812, allocations: 0 / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3812, allocations: 5.969 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3813, allocations: 29.14 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3813, allocations: 1.406 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.3814, allocations: 8.672 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3814, allocations: 7.625 kB / 0.524 GB, free: 15.41 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 (11): * Single equations (assignments): 11 * 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.0001174/0.3815, allocations: 132.2 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.3816, allocations: 14.66 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.382, allocations: 182.8 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3821, allocations: 5.406 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3821, allocations: 0 / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3821, allocations: 14.34 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.3829, allocations: 0.4935 MB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3829, allocations: 5.656 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.383, allocations: 24.06 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.383, allocations: 2.125 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3831, allocations: 7.094 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3831, allocations: 4.625 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3831, allocations: 1.469 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.3835, allocations: 271.8 kB / 0.5251 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.3836, allocations: 94.58 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3837, allocations: 6.156 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3838, allocations: 10.2 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.3838, allocations: 7.531 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3838, allocations: 7.938 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.384, allocations: 150.7 kB / 0.5254 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.384, allocations: 0 / 0.5254 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3843, allocations: 28.22 kB / 0.5254 GB, free: 14.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002241/0.3865, allocations: 1.154 MB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3869, allocations: 126.5 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3869, allocations: 5.375 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3871, allocations: 65.08 kB / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3875, allocations: 25.75 kB / 0.5267 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.3899, allocations: 1.9 MB / 0.5286 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3903, allocations: 0.7189 MB / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.3904, allocations: 34.92 kB / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.3905, allocations: 38.88 kB / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3905, allocations: 0 / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4153, allocations: 3.476 MB / 0.5328 GB, free: 9.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.291, allocations: 13.28 kB / 0.5328 GB, free: 9.496 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches