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.0008245/0.0008245, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003174/0.003174, allocations: 158.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8141/0.8141, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.582e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002783/0.002799, allocations: 3.21 MB / 329 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.003758, allocations: 0.9423 MB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.003892, allocations: 7.938 kB / 329.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.004103, allocations: 95.14 kB / 330 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.004336, allocations: 206.2 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.004511, allocations: 127.7 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.004955, allocations: 0.6572 MB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.005124, allocations: 131.5 kB / 331.1 MB, free: 10 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.005358, allocations: 375.2 kB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.005541, allocations: 195.5 kB / 331.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.00559, allocations: 52 kB / 331.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.005638, allocations: 56 kB / 331.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.005702, allocations: 119.5 kB / 331.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.005839, allocations: 207.6 kB / 332.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.006273, allocations: 0.662 MB / 332.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006275, allocations: 0 / 332.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006276, allocations: 0 / 332.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.006281, allocations: 0 / 332.8 MB, free: 8.355 MB / 298.7 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.0008525/0.007134, allocations: 0.7866 MB / 333.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.007166, allocations: 11.98 kB / 333.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.007244, allocations: 64.56 kB / 333.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.007619, allocations: 336.4 kB / 334 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.007704, allocations: 114.3 kB / 334.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.007742, allocations: 28.38 kB / 334.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.008295, allocations: 0.8233 MB / 334.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.008308, allocations: 192 / 334.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.008336, allocations: 20.12 kB / 335 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.008343, allocations: 8 kB / 335 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.008689, allocations: 286.4 kB / 335.2 MB, free: 5.664 MB / 298.7 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.001194/0.009884, allocations: 0.948 MB / 336.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.01052, allocations: 351.1 kB / 336.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01067, allocations: 124.8 kB / 336.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.0107, allocations: 12.08 kB / 336.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01072, allocations: 42.5 kB / 336.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.193e-06/0.01072, allocations: 0 / 336.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006702/0.01139, allocations: 447.7 kB / 337.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.01152, allocations: 448.9 kB / 337.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.01183, allocations: 401.6 kB / 338 MB, free: 2.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.01186, allocations: 37.7 kB / 338 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01197, allocations: 240.4 kB / 338.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.01203, allocations: 119 kB / 338.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.01211, allocations: 70.02 kB / 338.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.0122, allocations: 358.7 kB / 338.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.01235, allocations: 134.2 kB / 338.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.01268, allocations: 0.6555 MB / 339.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.01298, allocations: 281.2 kB / 339.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01298, allocations: 0 / 339.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000441/0.01342, allocations: 442.3 kB / 340.3 MB, free: 228 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.01345, allocations: 32.98 kB / 340.3 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01346, allocations: 0 / 340.3 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.01358, allocations: 57.69 kB / 340.4 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.01374, allocations: 71.92 kB / 340.4 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.01522, allocations: 2.689 MB / 343.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01538, allocations: 35.97 kB / 343.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.0154, allocations: 23.98 kB / 343.2 MB, free: 13.1 MB / 314.7 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.0001347/0.01554, allocations: 165.7 kB / 343.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.01558, allocations: 47.72 kB / 343.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.01564, allocations: 44.38 kB / 343.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01564, allocations: 4 kB / 343.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01564, allocations: 0 / 343.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004094/0.01605, allocations: 0.6534 MB / 344.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.01678, allocations: 0.7474 MB / 344.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01679, allocations: 4 kB / 344.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.01695, allocations: 71.89 kB / 344.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01696, allocations: 0 / 344.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01697, allocations: 4 kB / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01697, allocations: 4 kB / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01697, allocations: 0 / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.01746, allocations: 0.525 MB / 345.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.01756, allocations: 83.64 kB / 345.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.0176, allocations: 8 kB / 345.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.01774, allocations: 19.92 kB / 345.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.01777, allocations: 19.95 kB / 345.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.01778, allocations: 8 kB / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001883/0.01797, allocations: 283.2 kB / 345.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01797, allocations: 3.938 kB / 345.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01824, allocations: 139.8 kB / 346 MB, free: 10.11 MB / 314.7 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 8.804e-05/0.01833, allocations: 111.2 kB / 346.1 MB, free: 9.988 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.01887, allocations: 0.5726 MB / 346.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01887, allocations: 4 kB / 346.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.019, allocations: 115.8 kB / 346.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.01937, allocations: 121.4 kB / 346.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009327/0.0203, allocations: 0.8339 MB / 347.7 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.02043, allocations: 224.1 kB / 348 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.02051, allocations: 40.5 kB / 348 MB, free: 7.988 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02051, allocations: 0 / 348 MB, free: 7.988 MB / 314.7 MB Notification: Performance of Templates: time 0.006454/0.02696, allocations: 8.26 MB / 356.3 MB, free: 15.79 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_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: 4.486461092717946]