Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001716/0.001716, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002176/0.002176, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 44.06 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2223, allocations: 53.36 MB / 431.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004478/0.2268, allocations: 3.543 MB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2283, allocations: 0.9929 MB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2285, allocations: 11.94 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2287, allocations: 99.12 kB / 436.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.2291, allocations: 190.4 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.2293, allocations: 127.8 kB / 436.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.2301, allocations: 0.638 MB / 437.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2303, allocations: 131.3 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.2306, allocations: 243.1 kB / 437.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2309, allocations: 278.8 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/0.231, allocations: 56 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.2311, allocations: 52 kB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2312, allocations: 123.5 kB / 438.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.2315, allocations: 290.7 kB / 438.7 MB, free: 268 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.2322, allocations: 0.658 MB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2322, allocations: 0 / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2322, allocations: 0 / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2322, allocations: 0 / 439.3 MB, free: 15.61 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.001367/0.2335, allocations: 0.775 MB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2336, allocations: 8.031 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.012e-05/0.2336, allocations: 17.16 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.2337, allocations: 87.66 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2339, allocations: 68.56 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.2345, allocations: 337.5 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2346, allocations: 110.7 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.2347, allocations: 40.12 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.2354, allocations: 478.1 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2354, allocations: 7.953 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.2355, allocations: 20 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2355, allocations: 8 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.2361, allocations: 291.8 kB / 441.5 MB, free: 13.24 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.002204/0.2383, allocations: 1.289 MB / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2393, allocations: 335.2 kB / 443.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.2395, allocations: 144.8 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.2396, allocations: 16.52 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2396, allocations: 42.5 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.145e-06/0.2396, allocations: 0 / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00413/0.2437, allocations: 1.646 MB / 445 MB, free: 9.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0025/0.2462, allocations: 2.366 MB / 447.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.2468, allocations: 453.9 kB / 447.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.2469, allocations: 37.7 kB / 447.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.2471, allocations: 229 kB / 448.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.2472, allocations: 190.3 kB / 448.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.2474, allocations: 106.2 kB / 448.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2476, allocations: 366.7 kB / 448.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.248, allocations: 192.9 kB / 448.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.2485, allocations: 347.9 kB / 449.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.2493, allocations: 449.2 kB / 449.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2493, allocations: 4 kB / 449.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001313/0.2506, allocations: 0.6895 MB / 450.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.2506, allocations: 29.7 kB / 450.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2506, allocations: 0 / 450.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.2509, allocations: 123.4 kB / 450.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.2514, allocations: 107.9 kB / 450.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.2565, allocations: 5.576 MB / 456.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.257, allocations: 36.02 kB / 456.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.257, allocations: 23.97 kB / 456.3 MB, free: 13.54 MB / 366.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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.2573, allocations: 178 kB / 456.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2574, allocations: 55.67 kB / 456.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2575, allocations: 73.33 kB / 456.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.2575, allocations: 8 kB / 456.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2575, allocations: 0 / 456.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.259, allocations: 0.9507 MB / 457.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.2614, allocations: 1.428 MB / 458.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2615, allocations: 0 / 458.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.2618, allocations: 91.88 kB / 459 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.2623, allocations: 166.3 kB / 459.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.2623, allocations: 8 kB / 459.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/0.267, allocations: 4.711 MB / 463.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001522/0.2685, allocations: 1.642 MB / 465.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.2703, allocations: 0.955 MB / 466.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.2705, allocations: 103.5 kB / 466.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.2706, allocations: 19.88 kB / 466.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.271, allocations: 27.97 kB / 466.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2711, allocations: 52.41 kB / 466.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.2711, allocations: 12 kB / 466.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.2715, allocations: 319.1 kB / 467 MB, free: 2.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2715, allocations: 4 kB / 467 MB, free: 2.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.2721, allocations: 188 kB / 467.2 MB, free: 1.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.2743, allocations: 1.522 MB / 468.7 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.2758, allocations: 0.9799 MB / 469.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.2759, allocations: 4 kB / 469.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.2768, allocations: 0.6078 MB / 470.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.2774, allocations: 138 kB / 470.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.2851, allocations: 5.295 MB / 475.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.2856, allocations: 0.8604 MB / 476.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.2858, allocations: 68.75 kB / 476.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.2861, allocations: 187.4 kB / 476.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2861, allocations: 0 / 476.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.3396, allocations: 16.68 MB / 493.5 MB, free: 7.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.6, allocations: 9.969 kB / 493.6 MB, free: 7.555 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.922329875000287]