Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",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.001155/0.001155, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001174/0.001174, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.227/0.227, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002548, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4169, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.004531/0.4215, allocations: 1.643 MB / 0.5201 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4227, allocations: 420.7 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.4229, allocations: 0 / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.4232, allocations: 48.83 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.4235, allocations: 55.97 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.424, allocations: 128.9 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.4242, allocations: 74.55 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4244, allocations: 24.05 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.4244, allocations: 29.84 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.4246, allocations: 49.48 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.4246, allocations: 4.406 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.4247, allocations: 51.25 kB / 0.5209 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.4248, allocations: 23.67 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.4249, allocations: 32.19 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.4251, allocations: 105.3 kB / 0.5211 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4252, allocations: 4.656 kB / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4252, allocations: 0 / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4252, allocations: 0 / 0.5211 GB, free: 1.602 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.0005393/0.4257, allocations: 413.5 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4258, allocations: 9.641 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.4258, allocations: 37.41 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4259, allocations: 9.969 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4261, allocations: 196.2 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.4261, allocations: 6.375 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.4261, allocations: 10.34 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4263, allocations: 63.42 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4263, allocations: 9.797 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4263, allocations: 0 / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4263, allocations: 1.125 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.4265, allocations: 35.92 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.4269, allocations: 303.8 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.4271, allocations: 61.69 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.4272, allocations: 25.05 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4273, allocations: 1.719 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.4273, allocations: 31.81 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.4273, allocations: 4 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001468/0.4288, allocations: 389.8 kB / 0.5226 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.4288, allocations: 52.91 kB / 0.5227 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.429, allocations: 168 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.429, allocations: 29.7 kB / 0.5228 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.429, allocations: 103.9 kB / 0.5229 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.4291, allocations: 43.5 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.4292, allocations: 21.59 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4293, allocations: 322.1 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.4295, allocations: 44.16 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4296, allocations: 44.36 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.4299, allocations: 101 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4299, allocations: 3.938 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000338/0.4302, allocations: 142.7 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4302, allocations: 6.469 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4302, allocations: 0 / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4303, allocations: 7.938 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4304, allocations: 26.97 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4304, allocations: 1.156 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.4305, allocations: 12.62 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4305, allocations: 2.688 kB / 0.5237 GB, free: 15.53 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.0001096/0.4306, allocations: 124.2 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.4307, allocations: 21.92 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.4311, allocations: 172.4 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4311, allocations: 0.6094 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4311, allocations: 1.875 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4311, allocations: 0.8906 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.4318, allocations: 473.6 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4318, allocations: 2.031 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.432, allocations: 28.5 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.432, allocations: 1.594 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.432, allocations: 6.188 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.432, allocations: 1.625 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.432, allocations: 0.6094 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.4324, allocations: 257 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.4325, allocations: 86.53 kB / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.4325, allocations: 7.109 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4326, allocations: 14.39 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.4326, allocations: 11.62 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4327, allocations: 7.625 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4328, allocations: 132.1 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4328, allocations: 1.344 kB / 0.525 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.4331, allocations: 26.52 kB / 0.525 GB, free: 14.51 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.001644/0.4347, allocations: 1.132 MB / 0.5261 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.4351, allocations: 111.9 kB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4351, allocations: 0 / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4353, allocations: 63.83 kB / 0.5263 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.4357, allocations: 19.11 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.438, allocations: 1.751 MB / 0.528 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4383, allocations: 0.7104 MB / 0.5287 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.518e-05/0.4384, allocations: 20.94 kB / 0.5287 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.4384, allocations: 34.44 kB / 0.5287 GB, free: 11.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4384, allocations: 3.938 kB / 0.5288 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.4601, allocations: 3.235 MB / 0.5319 GB, free: 9.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.297, allocations: 10.38 kB / 0.5319 GB, free: 9.945 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_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_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches