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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009215/0.0009215, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9055/0.9055, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1354/0.1354, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.176e-05, allocations: 10.02 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002372/0.002394, allocations: 2.172 MB / 409 MB, free: 76 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008108/0.003205, allocations: 0.6242 MB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.003285, allocations: 4 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.97e-05/0.003355, allocations: 43.58 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.003493, allocations: 79.27 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.003881, allocations: 91.75 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.004124, allocations: 355 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.004328, allocations: 107.6 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.004541, allocations: 211.6 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.004727, allocations: 111.7 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.004768, allocations: 36 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.004796, allocations: 32 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.004834, allocations: 75.72 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.004904, allocations: 107.8 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.005143, allocations: 390.7 kB / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.005146, allocations: 0 / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.005149, allocations: 3.984 kB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.005153, allocations: 0 / 411.2 MB, free: 13.82 MB / 394.7 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.0005858/0.005739, allocations: 0.5093 MB / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.005779, allocations: 11.97 kB / 411.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.005831, allocations: 70.72 kB / 411.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.005874, allocations: 32.75 kB / 411.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005988, allocations: 145.4 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.006012, allocations: 28.97 kB / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.00604, allocations: 32.36 kB / 412.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.006341, allocations: 274.6 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006351, allocations: 192 / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.006371, allocations: 20.12 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.006379, allocations: 8 kB / 412.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.006621, allocations: 210.5 kB / 412.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.007888, allocations: 0.9085 MB / 413.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.007949, allocations: 30.58 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.00799, allocations: 24.91 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.008, allocations: 4 kB / 413.5 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.008019, allocations: 34.56 kB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.00802, allocations: 4 kB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.008187, allocations: 77.44 kB / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.008218, allocations: 55.34 kB / 413.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.008457, allocations: 332 kB / 414 MB, free: 10.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.008465, allocations: 25.7 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.008559, allocations: 235.5 kB / 414.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.008568, allocations: 11.95 kB / 414.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.008627, allocations: 61.59 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.008703, allocations: 330.8 kB / 414.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.008778, allocations: 64.09 kB / 414.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.008867, allocations: 89.67 kB / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.008994, allocations: 126.6 kB / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.008997, allocations: 4 kB / 414.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002218/0.009219, allocations: 229.6 kB / 415.2 MB, free: 9.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.00923, allocations: 4 kB / 415.2 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.009235, allocations: 0 / 415.2 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.009248, allocations: 4 kB / 415.2 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.009385, allocations: 59.83 kB / 415.2 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.00939, allocations: 4.031 kB / 415.2 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.009495, allocations: 47.61 kB / 415.3 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.009505, allocations: 4 kB / 415.3 MB, free: 9.555 MB / 394.7 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 7.799e-05/0.009583, allocations: 137.8 kB / 415.4 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.009606, allocations: 23.84 kB / 415.4 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.009631, allocations: 21 kB / 415.5 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009633, allocations: 0 / 415.5 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.009637, allocations: 3.938 kB / 415.5 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00964, allocations: 7.922 kB / 415.5 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.009979, allocations: 466.5 kB / 415.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00998, allocations: 0 / 415.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.009992, allocations: 11.92 kB / 415.9 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.009994, allocations: 0 / 415.9 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.01, allocations: 0 / 415.9 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01, allocations: 4 kB / 415.9 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01, allocations: 0 / 415.9 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.248e-05/0.01007, allocations: 97.8 kB / 416 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.0101, allocations: 31.72 kB / 416.1 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01012, allocations: 3.984 kB / 416.1 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.01016, allocations: 8.094 kB / 416.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.01017, allocations: 0 / 416.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.01018, allocations: 0 / 416.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.01032, allocations: 231.1 kB / 416.3 MB, free: 8.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01032, allocations: 0 / 416.3 MB, free: 8.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.01048, allocations: 67.83 kB / 416.4 MB, free: 8.375 MB / 394.7 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.0002416/0.01073, allocations: 0.6287 MB / 417 MB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01088, allocations: 99.94 kB / 417.1 MB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01088, allocations: 4.062 kB / 417.1 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.0109, allocations: 12 kB / 417.1 MB, free: 7.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.01109, allocations: 24.97 kB / 417.1 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.01271, allocations: 2.243 MB / 419.4 MB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.01278, allocations: 130.2 kB / 419.5 MB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.01285, allocations: 29.92 kB / 419.5 MB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.01294, allocations: 76.47 kB / 419.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01294, allocations: 0 / 419.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.02757, allocations: 4.952 MB / 424.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/6.544, allocations: 0 / 424.6 MB, free: 15.99 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.546476268209517]