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.001308/0.001308, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001416/0.001416, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001606/0.001606, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2145, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004704/0.2192, allocations: 3.216 MB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2208, allocations: 0.9346 MB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2209, allocations: 7.938 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.2212, allocations: 103.1 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.2216, allocations: 190.4 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2218, allocations: 123.8 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.2226, allocations: 0.6341 MB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.2228, allocations: 135.5 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.2231, allocations: 247.1 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.2234, allocations: 274.8 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.2235, allocations: 52 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.2236, allocations: 56 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.2238, allocations: 115.6 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.224, allocations: 251 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.2247, allocations: 0.6486 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2247, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2247, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.2247, allocations: 0 / 439.3 MB, free: 15.71 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.001466/0.2262, allocations: 0.7887 MB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2262, allocations: 12.02 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.2264, allocations: 64.56 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.2269, allocations: 333.2 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.2271, allocations: 106.3 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.2272, allocations: 36.38 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.2281, allocations: 0.8307 MB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2282, allocations: 4 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.2282, allocations: 16 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.2282, allocations: 8 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.2288, allocations: 274.5 kB / 441.7 MB, free: 13.04 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.002005/0.2308, allocations: 0.9595 MB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.232, allocations: 327.4 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.2323, allocations: 128.8 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2323, allocations: 7.938 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2323, allocations: 42.59 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.2323, allocations: 3.938 kB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001131/0.2335, allocations: 452.3 kB / 443.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002471/0.2337, allocations: 445 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.2342, allocations: 405.6 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.2342, allocations: 37.64 kB / 444.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2344, allocations: 240.5 kB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2346, allocations: 119 kB / 444.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2347, allocations: 78.02 kB / 444.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2349, allocations: 354.7 kB / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.2351, allocations: 130.3 kB / 445.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.2357, allocations: 0.6556 MB / 446.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.2363, allocations: 281.2 kB / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2363, allocations: 0 / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007782/0.2371, allocations: 438.4 kB / 446.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.2371, allocations: 37.64 kB / 446.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2371, allocations: 0 / 446.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.2373, allocations: 53.69 kB / 446.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.2376, allocations: 67.89 kB / 446.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.2403, allocations: 2.701 MB / 449.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.2406, allocations: 35.81 kB / 449.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.2406, allocations: 15.98 kB / 449.7 MB, free: 4.469 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.0002084/0.2409, allocations: 173.7 kB / 449.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.2409, allocations: 43.72 kB / 449.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.241, allocations: 48.38 kB / 449.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.241, allocations: 8 kB / 449.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.241, allocations: 0 / 449.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007759/0.2418, allocations: 0.6572 MB / 450.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.2431, allocations: 0.7472 MB / 451.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2431, allocations: 0 / 451.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.2435, allocations: 71.89 kB / 451.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.2435, allocations: 4 kB / 451.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2435, allocations: 8 kB / 451.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2435, allocations: 3.938 kB / 451.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2435, allocations: 3.938 kB / 451.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.2444, allocations: 0.5137 MB / 451.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.2446, allocations: 79.88 kB / 452 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2446, allocations: 8 kB / 452 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.245, allocations: 23.92 kB / 452 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.245, allocations: 27.88 kB / 452.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.245, allocations: 12.06 kB / 452.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.2454, allocations: 283.2 kB / 452.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2454, allocations: 0 / 452.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.2458, allocations: 135.8 kB / 452.5 MB, free: 1.469 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.0001203/0.2459, allocations: 111.2 kB / 452.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.2469, allocations: 0.5725 MB / 453.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2469, allocations: 0 / 453.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.2472, allocations: 119.8 kB / 453.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.2478, allocations: 121.4 kB / 453.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.2493, allocations: 0.8933 MB / 454.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2495, allocations: 216.4 kB / 454.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.2497, allocations: 51.38 kB / 454.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2499, allocations: 43.44 kB / 454.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2499, allocations: 0 / 454.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01593/0.2658, allocations: 9.142 MB / 463.8 MB, free: 6.336 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 -s gbode -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: 4.594079376998707]