Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",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.0008981/0.0008982, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009079/0.000908, allocations: 183.3 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2884/0.2884, allocations: 43.57 MB / 315 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 16 kB / 384.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08868, allocations: 58.87 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.001967/0.09068, allocations: 1.996 MB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.09145, allocations: 0.6359 MB / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.09153, allocations: 4 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.09159, allocations: 31.77 kB / 446.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.09174, allocations: 55.53 kB / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.09193, allocations: 79.88 kB / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.09219, allocations: 327.3 kB / 446.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.09242, allocations: 135.9 kB / 446.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.09257, allocations: 115.5 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.09275, allocations: 131.4 kB / 447 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.09279, allocations: 19.94 kB / 447.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.09283, allocations: 20 kB / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.09289, allocations: 55.83 kB / 447.1 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.09301, allocations: 161 kB / 447.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.09327, allocations: 354.9 kB / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.09328, allocations: 0 / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09329, allocations: 0 / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.0933, allocations: 0 / 447.6 MB, free: 8.461 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006857/0.09399, allocations: 0.5227 MB / 448.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.09403, allocations: 8.031 kB / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.09411, allocations: 74.66 kB / 448.2 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.09416, allocations: 32.56 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.09431, allocations: 203.9 kB / 448.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.09439, allocations: 29.22 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.09444, allocations: 32.38 kB / 448.5 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.0949, allocations: 282 kB / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.09492, allocations: 0 / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.09495, allocations: 16 kB / 448.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.09497, allocations: 8 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.09536, allocations: 214.5 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.0969, allocations: 1.036 MB / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.09697, allocations: 26.58 kB / 450.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.09702, allocations: 24.92 kB / 450.1 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.09704, allocations: 4 kB / 450.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.09707, allocations: 42.5 kB / 450.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.09708, allocations: 0 / 450.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.09725, allocations: 81.34 kB / 450.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.09728, allocations: 51.41 kB / 450.3 MB, free: 5.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.09762, allocations: 322.8 kB / 450.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.09764, allocations: 25.7 kB / 450.6 MB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.09777, allocations: 230.8 kB / 450.9 MB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.09778, allocations: 11.91 kB / 450.9 MB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.09783, allocations: 33.83 kB / 450.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.09793, allocations: 330.8 kB / 451.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.09806, allocations: 63.97 kB / 451.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.0982, allocations: 94.44 kB / 451.4 MB, free: 4.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.09839, allocations: 117.6 kB / 451.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.09841, allocations: 4 kB / 451.5 MB, free: 4.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003525/0.09877, allocations: 238 kB / 451.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.09879, allocations: 7.938 kB / 451.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.0988, allocations: 0 / 451.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.09881, allocations: 4 kB / 451.7 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.09909, allocations: 59.83 kB / 451.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.0991, allocations: 0 / 451.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.09933, allocations: 43.5 kB / 451.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.09935, allocations: 8 kB / 451.9 MB, free: 3.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 30 * 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.0001041/0.09946, allocations: 149.7 kB / 452 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.0995, allocations: 19.75 kB / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.09955, allocations: 24.89 kB / 452 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.09955, allocations: 0 / 452 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.09956, allocations: 3.938 kB / 452.1 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.09957, allocations: 0 / 452.1 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.1001, allocations: 0.5188 MB / 452.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1001, allocations: 0 / 452.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.1001, allocations: 4 kB / 452.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1001, allocations: 0 / 452.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1002, allocations: 0 / 452.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1002, allocations: 0 / 452.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1002, allocations: 0 / 452.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1003, allocations: 105.7 kB / 452.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.1004, allocations: 100.8 kB / 452.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1004, allocations: 4 kB / 452.8 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1005, allocations: 0 / 452.8 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.1005, allocations: 7.984 kB / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.1005, allocations: 4 kB / 452.8 MB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.1008, allocations: 222 kB / 453 MB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1008, allocations: 0 / 453 MB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.101, allocations: 67.88 kB / 453.1 MB, free: 2.652 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0003194/0.1013, allocations: 0.6364 MB / 453.7 MB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1016, allocations: 116.1 kB / 453.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1016, allocations: 4.094 kB / 453.8 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.1016, allocations: 12 kB / 453.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1018, allocations: 16.89 kB / 453.9 MB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1572/0.259, allocations: 2.355 MB / 456.2 MB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2592, allocations: 0.7412 MB / 457 MB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.2595, allocations: 26.92 kB / 457 MB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2597, allocations: 76.88 kB / 457.1 MB, free: 44.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2597, allocations: 0 / 457.1 MB, free: 44.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/1.52, allocations: 3.754 MB / 460.8 MB, free: 44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.52, allocations: 197.8 kB / 461 MB, free: 43.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.744, allocations: 0 / 461 MB, free: 43.74 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches