Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.001548/0.001548, allocations: 108.8 kB / 17.77 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.001604/0.001605, allocations: 184.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.326/1.326, 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.1968/0.1968, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00271/0.337, allocations: 1.554 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3384, allocations: 1.04 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.3385, allocations: 0 / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.3387, allocations: 20.22 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.3389, allocations: 38.52 kB / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.3392, allocations: 114.4 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3393, allocations: 56.31 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.3394, allocations: 12.7 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.3395, allocations: 26.95 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3396, allocations: 30.16 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3396, allocations: 2.844 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3398, allocations: 49.3 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.3398, allocations: 18.02 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3399, allocations: 17.27 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.34, allocations: 87.05 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3401, allocations: 0 / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3401, allocations: 0 / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3401, allocations: 0 / 0.5214 GB, free: 1.262 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.0004179/0.3405, allocations: 378.8 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3405, allocations: 13.5 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.3406, allocations: 36.31 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3406, allocations: 13.16 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3408, allocations: 189.8 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3408, allocations: 1.438 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.3408, allocations: 2.688 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3409, allocations: 74.52 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.341, allocations: 3.953 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.341, allocations: 1.922 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.341, allocations: 0 / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.3411, allocations: 26.58 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.3414, allocations: 277.1 kB / 0.5224 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3416, allocations: 49.45 kB / 0.5225 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.3417, allocations: 18.95 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3417, allocations: 4.844 kB / 0.5225 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.3417, allocations: 32.47 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.3417, allocations: 0 / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005527/0.3423, allocations: 142.8 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3423, allocations: 77.91 kB / 0.5227 GB, free: 4 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3425, allocations: 135.1 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3425, allocations: 31.53 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.3426, allocations: 95.58 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3426, allocations: 11.56 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.3426, allocations: 20.5 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3427, allocations: 323.5 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.3428, allocations: 20.41 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.3429, allocations: 36.53 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3431, allocations: 52.12 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3431, allocations: 0 / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001918/0.3433, allocations: 89.19 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3433, allocations: 6.188 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3433, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3433, allocations: 1.062 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.3434, allocations: 16.27 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3434, allocations: 4.938 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.3435, allocations: 5.156 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3435, allocations: 5 kB / 0.5235 GB, free: 15.3 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 7.845e-05/0.3436, allocations: 115.8 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3436, allocations: 7.297 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3438, allocations: 105 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3439, allocations: 5.156 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3439, allocations: 0.6094 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3439, allocations: 0 / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3443, allocations: 354.8 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3443, allocations: 3.938 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.3444, allocations: 12.66 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3444, allocations: 0.7969 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3444, allocations: 1.062 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3444, allocations: 9 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3444, allocations: 0.7969 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.3447, allocations: 185 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.3447, allocations: 83.02 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3448, allocations: 1.844 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3448, allocations: 9.156 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3449, allocations: 11.11 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3449, allocations: 1.5 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.786e-05/0.345, allocations: 103.8 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.794e-06/0.345, allocations: 0 / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3452, allocations: 29.5 kB / 0.5245 GB, free: 14.41 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.001341/0.3466, allocations: 1.047 MB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3468, allocations: 56.95 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3468, allocations: 4 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.805e-05/0.3469, allocations: 26.55 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3473, allocations: 21.5 kB / 0.5257 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3488, allocations: 1.408 MB / 0.527 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.349, allocations: 0.6932 MB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.852e-05/0.3491, allocations: 20.31 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.3492, allocations: 28.81 kB / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3492, allocations: 0 / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3721, allocations: 2.769 MB / 0.5305 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.178, allocations: 5.984 kB / 0.5305 GB, free: 10.45 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_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_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches