Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001722/0.001722, 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.001931/0.001931, allocations: 183.1 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.396/1.396, 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.2129/0.2129, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002568/0.3218, allocations: 1.583 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.3225, allocations: 411.1 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.3226, allocations: 0.9688 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3228, allocations: 76.8 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.323, allocations: 64.31 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.3233, allocations: 108 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3235, allocations: 72.72 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3236, allocations: 19.2 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.3236, allocations: 35.34 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.3237, allocations: 52.75 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3237, allocations: 2.438 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.3238, allocations: 35.17 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.3239, allocations: 18.16 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.3239, allocations: 30.77 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3241, allocations: 105.6 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3241, allocations: 1.031 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3241, allocations: 4 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3241, allocations: 0 / 0.521 GB, free: 1.68 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.0003926/0.3245, allocations: 405 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3246, allocations: 10.25 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.3246, allocations: 32.5 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.3247, allocations: 14.16 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3249, allocations: 196.4 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3249, allocations: 1.688 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3249, allocations: 10.47 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3251, allocations: 61.92 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3251, allocations: 0.6094 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3251, allocations: 1.125 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3251, allocations: 1.375 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3252, allocations: 29.73 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3255, allocations: 303.7 kB / 0.522 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3257, allocations: 48.3 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.3257, allocations: 19.73 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3257, allocations: 1.406 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3258, allocations: 32.14 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3258, allocations: 0 / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008749/0.3267, allocations: 235.3 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.3267, allocations: 55.34 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3269, allocations: 191 kB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.3269, allocations: 27.14 kB / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.3269, allocations: 103.5 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.3269, allocations: 30.22 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.327, allocations: 25.17 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3271, allocations: 321.4 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.075e-05/0.3272, allocations: 38.5 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.3273, allocations: 29.92 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3275, allocations: 72.38 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3275, allocations: 4 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002484/0.3278, allocations: 104.7 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3278, allocations: 5.531 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3278, allocations: 3.938 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3278, allocations: 1.688 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3279, allocations: 21.28 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.328, allocations: 4.547 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.328, allocations: 12.88 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.328, allocations: 7.453 kB / 0.5233 GB, free: 15.67 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.000106/0.3281, allocations: 121.3 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.3282, allocations: 13.16 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.3285, allocations: 134.7 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3285, allocations: 2.125 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3285, allocations: 3.938 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3285, allocations: 0.75 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.3291, allocations: 422.7 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3291, allocations: 4.922 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.3292, allocations: 16.61 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3292, allocations: 2.188 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3292, allocations: 1.312 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3292, allocations: 1.516 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3292, allocations: 5 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.3295, allocations: 217 kB / 0.5242 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.3296, allocations: 89.31 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3296, allocations: 4.781 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.3297, allocations: 9.188 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3298, allocations: 5.656 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3298, allocations: 8.297 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3299, allocations: 146 kB / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3299, allocations: 0 / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3302, allocations: 20.89 kB / 0.5245 GB, free: 14.72 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.002171/0.3323, allocations: 1.109 MB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3326, allocations: 75.83 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3326, allocations: 0 / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.3327, allocations: 38.48 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3331, allocations: 29.89 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3351, allocations: 1.639 MB / 0.5273 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3355, allocations: 0.7075 MB / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.3356, allocations: 16.3 kB / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.3357, allocations: 33.27 kB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3357, allocations: 0 / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.3609, allocations: 3.028 MB / 0.531 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.501, allocations: 4.75 kB / 0.531 GB, free: 10.45 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_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_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches