Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001169/0.001169, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001193/0.001194, allocations: 183 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2131/0.2131, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4139, allocations: 60.83 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002719/0.4167, allocations: 1.577 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.4174, allocations: 419.7 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.4175, allocations: 1.438 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.4179, allocations: 105.5 kB / 0.5205 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.4181, allocations: 81.81 kB / 0.5206 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.4184, allocations: 103.3 kB / 0.5207 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.4186, allocations: 80.33 kB / 0.5208 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4187, allocations: 23.7 kB / 0.5208 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.4188, allocations: 38.27 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4189, allocations: 65.28 kB / 0.5209 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4189, allocations: 3.469 kB / 0.5209 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.419, allocations: 47.11 kB / 0.5209 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.4191, allocations: 22.89 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.4191, allocations: 34.62 kB / 0.521 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.4193, allocations: 116.4 kB / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4193, allocations: 0 / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4193, allocations: 0 / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4194, allocations: 1.062 kB / 0.5211 GB, free: 1.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004053/0.4198, allocations: 419.7 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4198, allocations: 9.922 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.4198, allocations: 36.8 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.4199, allocations: 10.48 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.42, allocations: 211.1 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.4201, allocations: 7.281 kB / 0.5218 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4201, allocations: 6.281 kB / 0.5218 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4202, allocations: 57.67 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4202, allocations: 0 / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4203, allocations: 1 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4203, allocations: 0.9375 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.4204, allocations: 26.34 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.4207, allocations: 316.3 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.4209, allocations: 48.69 kB / 0.5222 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.4209, allocations: 20.14 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4209, allocations: 1.281 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.421, allocations: 39.25 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.421, allocations: 1.156 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009051/0.4219, allocations: 234.9 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.4219, allocations: 57.5 kB / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4221, allocations: 238.4 kB / 0.5228 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.4222, allocations: 26.77 kB / 0.5228 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.4222, allocations: 118 kB / 0.5229 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.4223, allocations: 25.09 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.4223, allocations: 21.67 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4224, allocations: 331.8 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.4225, allocations: 30.11 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.4226, allocations: 26.59 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4228, allocations: 75.47 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4228, allocations: 1.094 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.423, allocations: 113.5 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.423, allocations: 5.531 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4231, allocations: 0 / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4231, allocations: 1.688 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4232, allocations: 20.05 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4232, allocations: 10.05 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.4233, allocations: 8.859 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4233, allocations: 2.156 kB / 0.5235 GB, free: 15.63 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 9.856e-05/0.4234, allocations: 133 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.4234, allocations: 13.98 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.4237, allocations: 137.7 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4237, allocations: 0 / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4238, allocations: 5.562 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4238, allocations: 13.09 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.4243, allocations: 419.6 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4243, allocations: 5.031 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.4244, allocations: 17.19 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4244, allocations: 1.25 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4244, allocations: 1.188 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4244, allocations: 1.781 kB / 0.5243 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4244, allocations: 8.016 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.4247, allocations: 210.5 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.4248, allocations: 98.12 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.4248, allocations: 1.906 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.4249, allocations: 4.094 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.4249, allocations: 10.17 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4249, allocations: 2.844 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.4251, allocations: 187.5 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4251, allocations: 3.938 kB / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000259/0.4254, allocations: 19.7 kB / 0.5248 GB, free: 14.65 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.001449/0.4269, allocations: 1.102 MB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.4271, allocations: 83.3 kB / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4271, allocations: 0 / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.4272, allocations: 42.45 kB / 0.526 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.4276, allocations: 20.7 kB / 0.526 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4295, allocations: 1.765 MB / 0.5277 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4297, allocations: 0.7142 MB / 0.5284 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.4298, allocations: 16.5 kB / 0.5284 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.4299, allocations: 37.11 kB / 0.5285 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4299, allocations: 1.375 kB / 0.5285 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.449, allocations: 3.263 MB / 0.5316 GB, free: 10.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.063, allocations: 6.375 kB / 0.5317 GB, free: 10.16 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches