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.001793/0.001793, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002067/0.002067, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001609/0.001609, allocations: 55.94 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.228, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004883/0.2328, allocations: 3.213 MB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2347, allocations: 0.9307 MB / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.2349, allocations: 11.94 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.2352, allocations: 99.12 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.2356, allocations: 190.4 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2358, allocations: 123.8 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.2366, allocations: 0.6416 MB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.2368, allocations: 123.5 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.2371, allocations: 251.1 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.2374, allocations: 238.8 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-05/0.2375, allocations: 56 kB / 438.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2376, allocations: 52 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2377, allocations: 119.5 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.238, allocations: 243 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.2387, allocations: 0.6525 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2387, allocations: 3.938 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2387, allocations: 0 / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2387, allocations: 0 / 439.2 MB, free: 15.8 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.001399/0.2401, allocations: 0.7867 MB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2401, allocations: 8.031 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2402, allocations: 64.56 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006269/0.2409, allocations: 341.2 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.241, allocations: 110.3 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.241, allocations: 28.38 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009605/0.242, allocations: 0.8307 MB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.242, allocations: 0 / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.2421, allocations: 12 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2421, allocations: 8 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.2427, allocations: 282.5 kB / 441.7 MB, free: 13.12 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.001972/0.2446, allocations: 0.9595 MB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2458, allocations: 330 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.2461, allocations: 132.8 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.2461, allocations: 8 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2461, allocations: 38.56 kB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.2461, allocations: 0 / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001127/0.2473, allocations: 452.2 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/0.2475, allocations: 441 kB / 444 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.248, allocations: 409.6 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.248, allocations: 37.7 kB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2482, allocations: 236.5 kB / 444.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2483, allocations: 123 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2485, allocations: 66.03 kB / 444.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2486, allocations: 362.7 kB / 445.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.2489, allocations: 134.2 kB / 445.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.2495, allocations: 0.6555 MB / 446 MB, free: 8.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.2501, allocations: 285.2 kB / 446.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2501, allocations: 0 / 446.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007793/0.2509, allocations: 442.3 kB / 446.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.2509, allocations: 29.7 kB / 446.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2509, allocations: 0 / 446.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.2511, allocations: 57.62 kB / 446.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.2514, allocations: 59.97 kB / 446.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.2541, allocations: 2.704 MB / 449.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.2545, allocations: 35.81 kB / 449.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.2545, allocations: 12.09 kB / 449.6 MB, free: 4.562 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.0002361/0.2547, allocations: 184.2 kB / 449.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.2548, allocations: 47.72 kB / 449.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.562e-05/0.2549, allocations: 44.38 kB / 449.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2549, allocations: 4 kB / 449.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2549, allocations: 0 / 449.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000771/0.2557, allocations: 0.6533 MB / 450.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.257, allocations: 0.7552 MB / 451.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.257, allocations: 0 / 451.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.2573, allocations: 71.95 kB / 451.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.2574, allocations: 7.984 kB / 451.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.2574, allocations: 4 kB / 451.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2574, allocations: 4 kB / 451.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2574, allocations: 3.938 kB / 451.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.2583, allocations: 0.5137 MB / 451.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.2585, allocations: 87.7 kB / 452 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.2585, allocations: 8 kB / 452 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.2588, allocations: 15.92 kB / 452 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.2589, allocations: 23.91 kB / 452 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2589, allocations: 11.98 kB / 452 MB, free: 1.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003405/0.2593, allocations: 283.2 kB / 452.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2593, allocations: 0 / 452.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.2597, allocations: 135.9 kB / 452.5 MB, free: 1.555 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.0001306/0.2599, allocations: 103.2 kB / 452.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2609, allocations: 0.5802 MB / 453.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2609, allocations: 4 kB / 453.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.2611, allocations: 115.8 kB / 453.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.2618, allocations: 121.4 kB / 453.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2634, allocations: 0.923 MB / 454.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.2637, allocations: 212.4 kB / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2638, allocations: 39.44 kB / 454.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2638, allocations: 0 / 454.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01227/0.2761, allocations: 8.262 MB / 462.8 MB, free: 7.156 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/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: 7.856064831838012]