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.001801/0.001801, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002249/0.002249, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.378/1.378, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.00176/0.00176, allocations: 59.92 kB / 347.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2961, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00399/0.3001, allocations: 2.874 MB / 399.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.302, allocations: 1.2 MB / 400.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3022, allocations: 7.375 kB / 400.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.3028, allocations: 186.5 kB / 400.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.3032, allocations: 211.1 kB / 400.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.3036, allocations: 150.5 kB / 401 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.3041, allocations: 450.8 kB / 401.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3043, allocations: 79.31 kB / 401.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.3045, allocations: 189.3 kB / 401.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3048, allocations: 211.6 kB / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.3048, allocations: 30 kB / 401.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.305, allocations: 72.84 kB / 402 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.3051, allocations: 93.72 kB / 402.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3052, allocations: 193.8 kB / 402.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.3059, allocations: 486.5 kB / 402.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3059, allocations: 0.5156 kB / 402.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3059, allocations: 1.062 kB / 402.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3059, allocations: 0 / 402.7 MB, free: 5.051 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.001045/0.3069, allocations: 0.6286 MB / 403.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.307, allocations: 17.33 kB / 403.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.119e-05/0.3071, allocations: 62.36 kB / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.3072, allocations: 47.78 kB / 403.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.3076, allocations: 286.9 kB / 403.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3077, allocations: 17.25 kB / 403.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.3077, allocations: 25.84 kB / 403.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.3081, allocations: 298.7 kB / 404.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3081, allocations: 6.906 kB / 404.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3082, allocations: 12.28 kB / 404.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3082, allocations: 5.25 kB / 404.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3085, allocations: 152.2 kB / 404.3 MB, free: 3.965 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.001201/0.3097, allocations: 0.8033 MB / 405.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.31, allocations: 181.2 kB / 405.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.3102, allocations: 68.89 kB / 405.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3102, allocations: 7.703 kB / 405.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.3105, allocations: 139.3 kB / 405.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.3105, allocations: 0 / 405.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007865/0.3112, allocations: 326 kB / 405.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.3113, allocations: 312.7 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.3118, allocations: 440.2 kB / 406.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3118, allocations: 32.77 kB / 406.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3119, allocations: 200.2 kB / 406.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.312, allocations: 83.8 kB / 406.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.312, allocations: 66.09 kB / 406.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.3121, allocations: 348.3 kB / 407.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3123, allocations: 68.33 kB / 407.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.3124, allocations: 170.8 kB / 407.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.3127, allocations: 178.5 kB / 407.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3127, allocations: 3.938 kB / 407.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004084/0.3131, allocations: 268.6 kB / 407.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3131, allocations: 6.203 kB / 407.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3131, allocations: 1.375 kB / 407.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.3133, allocations: 38.17 kB / 407.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.3135, allocations: 50.81 kB / 408 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.3146, allocations: 1.472 MB / 409.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3149, allocations: 32.25 kB / 409.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3149, allocations: 11.62 kB / 409.5 MB, free: 15.99 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.0002225/0.3151, allocations: 171.8 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.3152, allocations: 43.14 kB / 409.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.3157, allocations: 262.5 kB / 410 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3157, allocations: 4.078 kB / 410 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.3157, allocations: 0 / 410 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006076/0.3164, allocations: 0.5764 MB / 410.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3174, allocations: 0.6812 MB / 411.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3174, allocations: 5.594 kB / 411.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.3176, allocations: 44.56 kB / 411.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3177, allocations: 1.125 kB / 411.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3177, allocations: 6.734 kB / 411.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3177, allocations: 1.922 kB / 411.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3177, allocations: 1.25 kB / 411.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.3183, allocations: 399.4 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.3185, allocations: 63.81 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.3185, allocations: 8.922 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3187, allocations: 11.59 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.3188, allocations: 11.48 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3188, allocations: 8.234 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.3192, allocations: 315.3 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3192, allocations: 0 / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.3196, allocations: 97.88 kB / 412.2 MB, free: 14.17 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 (23): * Single equations (assignments): 21 * 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.002449/0.3221, allocations: 1.249 MB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006473/0.3227, allocations: 303.3 kB / 413.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3227, allocations: 1.531 kB / 413.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.3229, allocations: 78.33 kB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.3235, allocations: 102.5 kB / 413.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.3284, allocations: 3.367 MB / 417.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.329, allocations: 0.7927 MB / 418.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.3292, allocations: 42.36 kB / 418.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3293, allocations: 126.2 kB / 418.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3293, allocations: 5.375 kB / 418.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.3746, allocations: 10.45 MB / 428.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.43, allocations: 4.062 kB / 428.7 MB, free: 2.008 MB / 334.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 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.csv","/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] "Error: Could not read variable openTank.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.978199183999095]