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.001759/0.001759, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002111/0.002111, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.004 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 47.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.225, allocations: 53.36 MB / 431.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005052/0.2301, allocations: 3.542 MB / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2318, allocations: 0.9889 MB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.2319, allocations: 11.94 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.2323, allocations: 111.1 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.2327, allocations: 186.4 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.233, allocations: 119.8 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.2337, allocations: 0.638 MB / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.234, allocations: 139.2 kB / 437.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.2343, allocations: 247.1 kB / 437.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.2347, allocations: 270.8 kB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.126e-05/0.2347, allocations: 52 kB / 437.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.2348, allocations: 56 kB / 438 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2349, allocations: 119.5 kB / 438.1 MB, free: 404 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.2352, allocations: 290.7 kB / 438.4 MB, free: 112 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.236, allocations: 0.655 MB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.236, allocations: 4 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.236, allocations: 0 / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.236, allocations: 0 / 439 MB, free: 15.45 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.001487/0.2375, allocations: 0.7789 MB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2375, allocations: 12.03 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2377, allocations: 64.56 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.2383, allocations: 333.2 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.2384, allocations: 110.3 kB / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.2385, allocations: 32.38 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.2393, allocations: 461.1 kB / 440.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2393, allocations: 0 / 440.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.2393, allocations: 20 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2393, allocations: 4 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.2399, allocations: 278.5 kB / 441.1 MB, free: 13.25 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.002273/0.2422, allocations: 1.264 MB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.2434, allocations: 338.2 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.2437, allocations: 128.8 kB / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.2437, allocations: 7.984 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.2438, allocations: 42.5 kB / 442.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.2438, allocations: 0 / 442.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001176/0.245, allocations: 460.2 kB / 443.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002649/0.2452, allocations: 445 kB / 443.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.2458, allocations: 461.8 kB / 444.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.2458, allocations: 33.7 kB / 444.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.2461, allocations: 236.6 kB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2462, allocations: 111 kB / 444.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.2463, allocations: 81.97 kB / 444.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2465, allocations: 354.7 kB / 445 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2468, allocations: 108.6 kB / 445.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.2472, allocations: 252.1 kB / 445.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.2477, allocations: 277.2 kB / 445.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2477, allocations: 4 kB / 445.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008058/0.2485, allocations: 416.6 kB / 446 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.2486, allocations: 29.7 kB / 446 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2486, allocations: 0 / 446 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.2487, allocations: 57.62 kB / 446.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.2491, allocations: 67.89 kB / 446.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.2519, allocations: 2.762 MB / 448.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.2523, allocations: 55.8 kB / 449 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.2523, allocations: 8 kB / 449 MB, free: 4.754 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.0002226/0.2525, allocations: 166.1 kB / 449.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.2526, allocations: 59.66 kB / 449.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2527, allocations: 52.69 kB / 449.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2527, allocations: 4 kB / 449.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2527, allocations: 3.938 kB / 449.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007892/0.2535, allocations: 0.6531 MB / 449.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.255, allocations: 0.8676 MB / 450.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.255, allocations: 3.938 kB / 450.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.2554, allocations: 71.89 kB / 450.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2554, allocations: 0 / 450.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.2554, allocations: 12 kB / 450.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2554, allocations: 3.938 kB / 450.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2554, allocations: 0 / 450.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.2563, allocations: 0.5176 MB / 451.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.2565, allocations: 87.56 kB / 451.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.2566, allocations: 8 kB / 451.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.2569, allocations: 24.05 kB / 451.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.257, allocations: 15.97 kB / 451.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.257, allocations: 12 kB / 451.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.2574, allocations: 319.1 kB / 451.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2574, allocations: 0 / 451.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.2578, allocations: 131.9 kB / 452 MB, free: 1.582 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.0001323/0.258, allocations: 111.2 kB / 452.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.2589, allocations: 0.5474 MB / 452.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2589, allocations: 3.938 kB / 452.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.2592, allocations: 115.8 kB / 452.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.2599, allocations: 133.8 kB / 452.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2615, allocations: 0.8909 MB / 453.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.262, allocations: 0.8159 MB / 454.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.2623, allocations: 68.33 kB / 454.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2624, allocations: 39.44 kB / 454.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2624, allocations: 0 / 454.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01631/0.2787, allocations: 8.457 MB / 463.2 MB, free: 6.453 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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: 4.736307266866788]