Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001677/0.001677, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002176/0.002176, allocations: 215.2 kB / 24.47 MB, free: 3.777 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.797 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001834/0.001834, allocations: 55.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2499, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003809/0.2537, allocations: 3.192 MB / 399.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2552, allocations: 0.9393 MB / 400.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.2554, allocations: 9.594 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.2557, allocations: 108.7 kB / 400.6 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.2561, allocations: 187.9 kB / 400.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2563, allocations: 125.3 kB / 400.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.2569, allocations: 0.6409 MB / 401.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.2571, allocations: 123.9 kB / 401.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.2574, allocations: 244.3 kB / 401.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2577, allocations: 240.9 kB / 402.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.2577, allocations: 56.97 kB / 402.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.2578, allocations: 54.09 kB / 402.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.753e-05/0.2579, allocations: 119.1 kB / 402.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.2581, allocations: 244.4 kB / 402.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.2587, allocations: 0.655 MB / 403.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2587, allocations: 0 / 403.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2587, allocations: 0 / 403.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2587, allocations: 1.281 kB / 403.2 MB, free: 4.711 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00125/0.26, allocations: 0.7765 MB / 404 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.26, allocations: 13.77 kB / 404 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.2601, allocations: 82.08 kB / 404.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.2603, allocations: 65.06 kB / 404.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.2609, allocations: 338.8 kB / 404.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.261, allocations: 114.8 kB / 404.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.261, allocations: 31.95 kB / 404.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.2618, allocations: 0.8484 MB / 405.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2618, allocations: 0.5625 kB / 405.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.2618, allocations: 16.75 kB / 405.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2618, allocations: 12.44 kB / 405.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.2624, allocations: 282.9 kB / 405.8 MB, free: 2.781 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.001861/0.2642, allocations: 1.029 MB / 406.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2653, allocations: 336.8 kB / 407.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.2655, allocations: 133.4 kB / 407.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.2655, allocations: 10.67 kB / 407.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2656, allocations: 46.83 kB / 407.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.2656, allocations: 0 / 407.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001133/0.2667, allocations: 451.9 kB / 407.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2668, allocations: 449.4 kB / 408.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.2673, allocations: 456.7 kB / 408.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.2674, allocations: 33.55 kB / 408.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.2676, allocations: 244.3 kB / 409 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.2677, allocations: 114 kB / 409.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.2678, allocations: 76.64 kB / 409.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2679, allocations: 354 kB / 409.5 MB, free: 276 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.2682, allocations: 131.7 kB / 409.6 MB, free: 208 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.2688, allocations: 0.6523 MB / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.2693, allocations: 281.4 kB / 410.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2693, allocations: 0 / 410.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008176/0.2701, allocations: 440.5 kB / 411 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.2702, allocations: 36.95 kB / 411 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2702, allocations: 0 / 411 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.2704, allocations: 54.95 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.2707, allocations: 64.34 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.2734, allocations: 2.745 MB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.2738, allocations: 47.69 kB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.2739, allocations: 8.562 kB / 413.9 MB, free: 12.35 MB / 334.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.2741, allocations: 173 kB / 414.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.2742, allocations: 53.11 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.2743, allocations: 58.41 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2743, allocations: 3.828 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2743, allocations: 1.062 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007706/0.2751, allocations: 0.6536 MB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2766, allocations: 0.7969 MB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2766, allocations: 4 kB / 415.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.2769, allocations: 67.41 kB / 415.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2769, allocations: 5.344 kB / 415.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2769, allocations: 8.062 kB / 415.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2769, allocations: 1.406 kB / 415.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2769, allocations: 0.5625 kB / 415.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008204/0.2777, allocations: 0.5341 MB / 416.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.2779, allocations: 81.45 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.278, allocations: 7.531 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.2783, allocations: 16.45 kB / 416.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2783, allocations: 22.7 kB / 416.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2783, allocations: 6.812 kB / 416.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003625/0.2787, allocations: 320.5 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2787, allocations: 0 / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.2791, allocations: 133.6 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (32): * Single equations (assignments): 32 * 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.001218/0.2804, allocations: 1.071 MB / 417.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2814, allocations: 0.5855 MB / 418.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2814, allocations: 1.062 kB / 418.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.2816, allocations: 113.7 kB / 418.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.2823, allocations: 143.8 kB / 418.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006275/0.2886, allocations: 4.363 MB / 423.1 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2888, allocations: 221.3 kB / 423.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002632/0.2891, allocations: 62.53 kB / 423.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2893, allocations: 162.1 kB / 423.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2893, allocations: 0 / 423.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04946/0.3388, allocations: 14.39 MB / 437.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.72, allocations: 7.891 kB / 438 MB, free: 8.141 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.044234384316951]