Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001309/0.001309, allocations: 107.6 kB / 21.18 MB, free: 0.5781 MB / 14.72 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.00156/0.00156, allocations: 216 kB / 24.48 MB, free: 3.867 MB / 14.72 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 1.392/1.392, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 49.5 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2928, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003788/0.2966, allocations: 2.666 MB / 399 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2983, allocations: 1.121 MB / 400.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.2985, allocations: 6.812 kB / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.299, allocations: 192.3 kB / 400.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.2995, allocations: 207.4 kB / 400.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.2999, allocations: 150.3 kB / 400.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000477/0.3004, allocations: 455.2 kB / 401.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.3006, allocations: 70.97 kB / 401.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.3008, allocations: 187.4 kB / 401.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.301, allocations: 192.6 kB / 401.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.3011, allocations: 29 kB / 401.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3013, allocations: 74.33 kB / 401.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.3014, allocations: 87.8 kB / 401.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3015, allocations: 162.8 kB / 401.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.302, allocations: 486.2 kB / 402.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3021, allocations: 5.438 kB / 402.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3021, allocations: 0 / 402.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3021, allocations: 0 / 402.4 MB, free: 5.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001011/0.3031, allocations: 0.6336 MB / 403 MB, free: 4.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3031, allocations: 16.86 kB / 403 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.159e-05/0.3032, allocations: 65.22 kB / 403.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.3033, allocations: 48.78 kB / 403.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.3038, allocations: 284.7 kB / 403.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3038, allocations: 17.38 kB / 403.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.3039, allocations: 21.38 kB / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.3045, allocations: 0.5964 MB / 404 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3045, allocations: 0 / 404 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.3045, allocations: 15.5 kB / 404.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3045, allocations: 5.594 kB / 404.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.3048, allocations: 152.6 kB / 404.2 MB, free: 3.863 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3061, allocations: 0.7014 MB / 404.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.3064, allocations: 168.3 kB / 405.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3066, allocations: 74.44 kB / 405.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3066, allocations: 8.219 kB / 405.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.3069, allocations: 187.7 kB / 405.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.3069, allocations: 1.281 kB / 405.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008643/0.3077, allocations: 331.9 kB / 405.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.3078, allocations: 313.3 kB / 406 MB, free: 2.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.3083, allocations: 441.2 kB / 406.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3084, allocations: 32.45 kB / 406.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3085, allocations: 207.9 kB / 406.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.3085, allocations: 83.77 kB / 406.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.3086, allocations: 58.53 kB / 406.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.3087, allocations: 348.8 kB / 407.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3089, allocations: 60.5 kB / 407.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.3091, allocations: 445.1 kB / 407.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.3094, allocations: 179 kB / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3094, allocations: 4.641 kB / 407.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004562/0.3099, allocations: 271.8 kB / 408.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3099, allocations: 6.078 kB / 408.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3099, allocations: 5.5 kB / 408.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.31, allocations: 37.38 kB / 408.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3102, allocations: 52.19 kB / 408.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.3116, allocations: 1.462 MB / 409.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3118, allocations: 29.73 kB / 409.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3119, allocations: 7.484 kB / 409.7 MB, free: 15.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.3121, allocations: 170.3 kB / 409.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.3122, allocations: 48.78 kB / 409.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.3127, allocations: 265.6 kB / 410.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3127, allocations: 2.75 kB / 410.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.3127, allocations: 0 / 410.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006068/0.3134, allocations: 0.5884 MB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3145, allocations: 0.651 MB / 411.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3145, allocations: 0 / 411.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3147, allocations: 43.22 kB / 411.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3147, allocations: 6 kB / 411.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3147, allocations: 7.391 kB / 411.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3147, allocations: 0 / 411.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3147, allocations: 1.062 kB / 411.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.3154, allocations: 417.3 kB / 411.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3156, allocations: 65.31 kB / 411.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.3156, allocations: 7.359 kB / 411.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3158, allocations: 12.59 kB / 411.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3159, allocations: 12.42 kB / 411.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3159, allocations: 10.73 kB / 411.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003953/0.3163, allocations: 319.1 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3163, allocations: 0 / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.3167, allocations: 97.97 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002609/0.3193, allocations: 1.29 MB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.3201, allocations: 309.7 kB / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3201, allocations: 1.625 kB / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3202, allocations: 77.08 kB / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.3208, allocations: 106.7 kB / 414.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.3262, allocations: 3.39 MB / 417.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3264, allocations: 197.9 kB / 417.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.3266, allocations: 47.88 kB / 417.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.3268, allocations: 121.6 kB / 417.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3268, allocations: 0 / 417.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/0.3706, allocations: 11.5 MB / 429.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.6, allocations: 4.062 kB / 429.4 MB, free: 0.9492 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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: 15.09250011574477]