Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 116.5 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 207 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 377.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2364, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005321/0.2417, allocations: 3.543 MB / 434.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2437, allocations: 0.9852 MB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.244, allocations: 11.94 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.2445, allocations: 103.1 kB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.245, allocations: 194.4 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.2453, allocations: 119.8 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.2463, allocations: 0.6379 MB / 436.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2466, allocations: 135.3 kB / 436.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.247, allocations: 247.1 kB / 437.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.2475, allocations: 274.8 kB / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.2476, allocations: 52 kB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.2477, allocations: 52 kB / 437.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2478, allocations: 127.5 kB / 437.6 MB, free: 200 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.2482, allocations: 294.7 kB / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008008/0.249, allocations: 0.6425 MB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.249, allocations: 0 / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.249, allocations: 0 / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.2491, allocations: 0 / 438.6 MB, free: 15.27 MB / 350.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.001637/0.2507, allocations: 0.7905 MB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2507, allocations: 8.031 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.2509, allocations: 71.72 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.251, allocations: 68.56 kB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.2517, allocations: 341.5 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.2518, allocations: 110.7 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.2519, allocations: 36.38 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.2527, allocations: 474 kB / 440.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2527, allocations: 4 kB / 440.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.2527, allocations: 16 kB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2528, allocations: 11.98 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.2534, allocations: 279.8 kB / 440.7 MB, free: 12.93 MB / 350.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.002381/0.2557, allocations: 1.27 MB / 442 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2569, allocations: 342.1 kB / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.2572, allocations: 132.7 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2572, allocations: 4 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2572, allocations: 46.56 kB / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.043e-06/0.2572, allocations: 0 / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001142/0.2584, allocations: 459.6 kB / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/0.2586, allocations: 448.9 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.2592, allocations: 454 kB / 443.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.2592, allocations: 33.7 kB / 443.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.2594, allocations: 232.7 kB / 444.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2596, allocations: 122.9 kB / 444.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2597, allocations: 70.03 kB / 444.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2599, allocations: 358.8 kB / 444.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.2601, allocations: 104.6 kB / 444.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.2605, allocations: 248.1 kB / 445 MB, free: 8.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.261, allocations: 285.2 kB / 445.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.261, allocations: 0 / 445.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007796/0.2618, allocations: 428.5 kB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.2619, allocations: 32.2 kB / 445.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2619, allocations: 4 kB / 445.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.262, allocations: 53.75 kB / 445.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.2624, allocations: 71.84 kB / 445.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.2651, allocations: 2.758 MB / 448.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.2655, allocations: 43.77 kB / 448.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.2656, allocations: 16 kB / 448.7 MB, free: 4.426 MB / 350.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.000247/0.2658, allocations: 165.8 kB / 448.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2659, allocations: 47.72 kB / 448.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.266, allocations: 60.62 kB / 448.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.266, allocations: 4 kB / 448.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.266, allocations: 0 / 448.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000765/0.2668, allocations: 0.6534 MB / 449.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.2683, allocations: 0.883 MB / 450.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2683, allocations: 0 / 450.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.2686, allocations: 79.89 kB / 450.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2686, allocations: 0 / 450.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2687, allocations: 4 kB / 450.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2687, allocations: 4 kB / 450.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2687, allocations: 0 / 450.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.2696, allocations: 0.5206 MB / 451.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.2698, allocations: 87.58 kB / 451.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.2699, allocations: 8 kB / 451.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.2702, allocations: 15.98 kB / 451.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.2702, allocations: 23.95 kB / 451.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2702, allocations: 8 kB / 451.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003922/0.2706, allocations: 319.1 kB / 451.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 0 / 451.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.2711, allocations: 131.9 kB / 451.7 MB, free: 1.25 MB / 350.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.001235/0.2723, allocations: 1.076 MB / 452.7 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.2733, allocations: 0.5475 MB / 453.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2733, allocations: 4 kB / 453.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.2736, allocations: 120.4 kB / 453.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.2743, allocations: 129.9 kB / 453.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/0.2804, allocations: 4.271 MB / 457.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.2809, allocations: 0.8198 MB / 458.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.2812, allocations: 64.33 kB / 458.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.2814, allocations: 167.4 kB / 458.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2814, allocations: 0 / 458.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05201/0.3334, allocations: 13.03 MB / 471.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.89, allocations: 3.125 kB / 471.9 MB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.230452673044056]