Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001667/0.001667, allocations: 111.7 kB / 17.78 MB, free: 5.281 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.001952/0.001953, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.358/1.358, 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.2144/0.2144, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3163, allocations: 60.82 MB / 0.5184 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002638/0.319, allocations: 1.566 MB / 0.52 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006682/0.3197, allocations: 396.3 kB / 0.5203 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.3197, allocations: 1.125 kB / 0.5203 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.3199, allocations: 24.91 kB / 0.5204 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.3201, allocations: 35.86 kB / 0.5204 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3204, allocations: 93.67 kB / 0.5205 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3205, allocations: 58.19 kB / 0.5206 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3206, allocations: 12.12 kB / 0.5206 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.3207, allocations: 23.05 kB / 0.5206 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.3207, allocations: 20.36 kB / 0.5206 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3208, allocations: 2.031 kB / 0.5206 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.3208, allocations: 29.73 kB / 0.5206 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.3209, allocations: 18.22 kB / 0.5207 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3209, allocations: 17.3 kB / 0.5207 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3211, allocations: 82.84 kB / 0.5207 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3211, allocations: 0 / 0.5207 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3211, allocations: 3.938 kB / 0.5208 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3211, allocations: 0 / 0.5208 GB, free: 1.969 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.0004174/0.3215, allocations: 379.3 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3216, allocations: 9.719 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.3216, allocations: 32.67 kB / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.3217, allocations: 8.609 kB / 0.5212 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3218, allocations: 190 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3218, allocations: 10.42 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3219, allocations: 1.719 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.322, allocations: 48.58 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.322, allocations: 5.531 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.322, allocations: 3.938 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.322, allocations: 0.5156 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.3221, allocations: 21.61 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.3224, allocations: 277.8 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3226, allocations: 44.06 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3227, allocations: 19.28 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3227, allocations: 0 / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.3227, allocations: 36.55 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3228, allocations: 0 / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005295/0.3233, allocations: 143.2 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.3233, allocations: 53.48 kB / 0.522 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3235, allocations: 154.6 kB / 0.5221 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3235, allocations: 25.7 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.3235, allocations: 97.59 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3235, allocations: 19.77 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3236, allocations: 23.16 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.3236, allocations: 319.4 kB / 0.5226 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.3237, allocations: 19.66 kB / 0.5226 GB, free: 168 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.3238, allocations: 17.55 kB / 0.5226 GB, free: 164 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3239, allocations: 43.41 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3239, allocations: 0 / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.3241, allocations: 89.62 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3241, allocations: 5.438 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3241, allocations: 0 / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3241, allocations: 1.625 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.3242, allocations: 11.75 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.3242, allocations: 1.188 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.3243, allocations: 8.922 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.3243, allocations: 1.031 kB / 0.5228 GB, free: 88 kB / 382.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.921e-05/0.3244, allocations: 121.2 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3244, allocations: 8.141 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3246, allocations: 93.08 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3247, allocations: 1.703 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3247, allocations: 0 / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3247, allocations: 8.438 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.3251, allocations: 343.4 kB / 0.5233 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3251, allocations: 0 / 0.5233 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.3252, allocations: 17.19 kB / 0.5233 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3252, allocations: 0 / 0.5233 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3252, allocations: 8.938 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3252, allocations: 1.859 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3252, allocations: 0 / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3255, allocations: 180.5 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.3255, allocations: 84.38 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3256, allocations: 8.938 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.3256, allocations: 5.406 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.3257, allocations: 2.484 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3257, allocations: 3.047 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3258, allocations: 121 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3258, allocations: 0 / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.3261, allocations: 15.31 kB / 0.5238 GB, free: 15.21 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.001344/0.3274, allocations: 1.001 MB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3276, allocations: 52.02 kB / 0.5248 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3276, allocations: 4 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.3277, allocations: 27.98 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3281, allocations: 14.28 kB / 0.5248 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3297, allocations: 1.444 MB / 0.5262 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.33, allocations: 0.6919 MB / 0.5269 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.33, allocations: 14.92 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.3301, allocations: 25.64 kB / 0.527 GB, free: 12.41 MB / 398.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3301, allocations: 0 / 0.527 GB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.3495, allocations: 2.511 MB / 0.5294 GB, free: 11.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.28, allocations: 6.391 kB / 0.5294 GB, free: 11.49 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches