Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001702/0.001702, allocations: 118.3 kB / 17.78 MB, free: 5.125 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.001818/0.001818, allocations: 184.2 kB / 18.72 MB, free: 4.203 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.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2181/0.2181, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4135, allocations: 60.82 MB / 0.5184 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002771/0.4163, allocations: 1.552 MB / 0.52 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.4177, allocations: 1.024 MB / 0.521 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.4178, allocations: 1.438 kB / 0.521 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.418, allocations: 19.53 kB / 0.521 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.4182, allocations: 45.47 kB / 0.521 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.4185, allocations: 84.44 kB / 0.5211 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.4187, allocations: 59.77 kB / 0.5212 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4188, allocations: 12.5 kB / 0.5212 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.4189, allocations: 27 kB / 0.5212 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.419, allocations: 28.8 kB / 0.5212 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.4191, allocations: 2.375 kB / 0.5212 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.4192, allocations: 46.09 kB / 0.5213 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.4193, allocations: 12.61 kB / 0.5213 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.4193, allocations: 22.02 kB / 0.5213 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.4195, allocations: 84.83 kB / 0.5214 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4195, allocations: 1.906 kB / 0.5214 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4195, allocations: 7.938 kB / 0.5214 GB, free: 1.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.4196, allocations: 0 / 0.5214 GB, free: 1.133 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004758/0.42, allocations: 377.8 kB / 0.5218 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4201, allocations: 9.375 kB / 0.5218 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.4201, allocations: 36.58 kB / 0.5218 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.4202, allocations: 9 kB / 0.5218 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4203, allocations: 190.8 kB / 0.522 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4203, allocations: 384 / 0.522 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4204, allocations: 2.75 kB / 0.522 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4205, allocations: 77.48 kB / 0.5221 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4205, allocations: 3.953 kB / 0.5221 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4206, allocations: 5.125 kB / 0.5221 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4206, allocations: 1.891 kB / 0.5221 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.4207, allocations: 25.84 kB / 0.5221 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.421, allocations: 268.2 kB / 0.5224 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.4212, allocations: 48.41 kB / 0.5224 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.4212, allocations: 16.92 kB / 0.5224 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.4213, allocations: 1.984 kB / 0.5224 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4213, allocations: 31.75 kB / 0.5225 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4213, allocations: 0 / 0.5225 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005732/0.4219, allocations: 134.6 kB / 0.5226 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.4219, allocations: 78.94 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4221, allocations: 143.1 kB / 0.5228 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4221, allocations: 27.33 kB / 0.5228 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.4222, allocations: 96.5 kB / 0.5229 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.4222, allocations: 11.2 kB / 0.5229 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.4222, allocations: 23.42 kB / 0.5229 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4224, allocations: 322.7 kB / 0.5233 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.4225, allocations: 18.73 kB / 0.5233 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.4226, allocations: 31.67 kB / 0.5233 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.4227, allocations: 46.39 kB / 0.5233 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4227, allocations: 0 / 0.5233 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/0.4229, allocations: 84.97 kB / 0.5234 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4229, allocations: 5.203 kB / 0.5234 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4229, allocations: 1.125 kB / 0.5234 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.423, allocations: 0 / 0.5234 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.423, allocations: 16.8 kB / 0.5235 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.423, allocations: 0 / 0.5235 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.4231, allocations: 5.422 kB / 0.5235 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4231, allocations: 10.28 kB / 0.5235 GB, free: 15.18 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 8.76e-05/0.4232, allocations: 118.3 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.4232, allocations: 8.031 kB / 0.5236 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.4235, allocations: 88.08 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4235, allocations: 0 / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4235, allocations: 5.797 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4235, allocations: 0.6562 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.424, allocations: 353.9 kB / 0.524 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.424, allocations: 0.75 kB / 0.524 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.424, allocations: 12.45 kB / 0.524 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4241, allocations: 0.7031 kB / 0.524 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4241, allocations: 1 kB / 0.524 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4241, allocations: 9.25 kB / 0.524 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4241, allocations: 0.75 kB / 0.524 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.4243, allocations: 176.7 kB / 0.5242 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.4244, allocations: 83 kB / 0.5243 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.4244, allocations: 1.062 kB / 0.5243 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.4245, allocations: 12.73 kB / 0.5243 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.4245, allocations: 5.453 kB / 0.5243 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4245, allocations: 0.9375 kB / 0.5243 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.4246, allocations: 107.1 kB / 0.5244 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4246, allocations: 1.344 kB / 0.5244 GB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.4249, allocations: 27.62 kB / 0.5244 GB, free: 14.3 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.001984/0.4269, allocations: 1.045 MB / 0.5255 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.4271, allocations: 47.91 kB / 0.5255 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4271, allocations: 0 / 0.5255 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.4272, allocations: 24.47 kB / 0.5255 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4276, allocations: 20.17 kB / 0.5255 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4292, allocations: 1.384 MB / 0.5269 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4295, allocations: 0.6905 MB / 0.5276 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.4296, allocations: 20.55 kB / 0.5276 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.4297, allocations: 24.81 kB / 0.5276 GB, free: 11.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4297, allocations: 4 kB / 0.5276 GB, free: 11.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.4537, allocations: 2.732 MB / 0.5303 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.215, allocations: 16.55 kB / 0.5303 GB, free: 10.4 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches