Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.00167/0.00167, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001285/0.001285, allocations: 183.8 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2458/0.2458, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3335, allocations: 60.81 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002783/0.3364, allocations: 1.6 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.3371, allocations: 402.2 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.3372, allocations: 0.9688 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.3376, allocations: 105.2 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.3379, allocations: 73.94 kB / 0.5206 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.3382, allocations: 93.86 kB / 0.5207 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3384, allocations: 78.41 kB / 0.5207 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3385, allocations: 14.83 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.3386, allocations: 41.83 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3388, allocations: 69.19 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3388, allocations: 2.906 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3389, allocations: 43.7 kB / 0.5209 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.339, allocations: 29.19 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.339, allocations: 31.53 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3392, allocations: 111.3 kB / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3393, allocations: 5.219 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3393, allocations: 0 / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3393, allocations: 0 / 0.5211 GB, free: 1.684 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.0004748/0.3398, allocations: 420.3 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3398, allocations: 9.375 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.3398, allocations: 33.19 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3399, allocations: 14.67 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3401, allocations: 207.1 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3401, allocations: 2.547 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3402, allocations: 6.875 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3403, allocations: 56.16 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3403, allocations: 0 / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3404, allocations: 1.125 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3404, allocations: 8.734 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3405, allocations: 25.25 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.3408, allocations: 312.8 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.3409, allocations: 47.38 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.341, allocations: 14.83 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.341, allocations: 1.094 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.341, allocations: 32.73 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.341, allocations: 4 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008531/0.3419, allocations: 215.9 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.3419, allocations: 56.62 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.3421, allocations: 243.4 kB / 0.5227 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.3422, allocations: 25.7 kB / 0.5227 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.3422, allocations: 115 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3423, allocations: 24.19 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3423, allocations: 24.88 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3425, allocations: 327.7 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.3426, allocations: 26.39 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.3427, allocations: 22.95 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3429, allocations: 76.11 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3429, allocations: 0 / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.3431, allocations: 93.67 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3431, allocations: 5.453 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3431, allocations: 0 / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3432, allocations: 1.734 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3433, allocations: 20.88 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3433, allocations: 13.41 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.3433, allocations: 8.953 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3433, allocations: 1.562 kB / 0.5234 GB, free: 15.64 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 0.0001279/0.3435, allocations: 132.3 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.3435, allocations: 14.52 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3438, allocations: 115.6 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3438, allocations: 1.312 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.3439, allocations: 12.62 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3439, allocations: 3.938 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.3444, allocations: 408.1 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.3445, allocations: 5.062 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.3445, allocations: 16.94 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3446, allocations: 1.094 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3446, allocations: 2.312 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3446, allocations: 8.703 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3446, allocations: 1.094 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.3449, allocations: 203.9 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.345, allocations: 93.11 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.345, allocations: 5.578 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.3451, allocations: 9.578 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.3451, allocations: 5.766 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3451, allocations: 2.031 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.3453, allocations: 188.7 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3453, allocations: 0 / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3456, allocations: 18.69 kB / 0.5246 GB, free: 14.67 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.002244/0.3478, allocations: 1.095 MB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3481, allocations: 65.66 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3481, allocations: 0 / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.3482, allocations: 34.14 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3486, allocations: 32.38 kB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.3507, allocations: 1.724 MB / 0.5275 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3511, allocations: 0.7122 MB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.3512, allocations: 13.67 kB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.3513, allocations: 37.19 kB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3513, allocations: 1.062 kB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3767, allocations: 3.192 MB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.238, allocations: 13.41 kB / 0.5314 GB, free: 10.28 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches