Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006827/0.006827, allocations: 106.7 kB / 21.98 MB, free: 5.215 MB / 14.72 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.001679/0.001679, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 259 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 59.91 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3491, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006159/0.3552, allocations: 3.54 MB / 436.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3575, allocations: 0.993 MB / 437.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.3578, allocations: 7.938 kB / 437.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.3582, allocations: 107.1 kB / 437.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.3586, allocations: 194.4 kB / 438 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3589, allocations: 111.9 kB / 438.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007878/0.3597, allocations: 0.6523 MB / 438.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.3599, allocations: 131.3 kB / 438.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.3602, allocations: 247.1 kB / 439.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.3606, allocations: 274.8 kB / 439.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.3607, allocations: 56 kB / 439.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.3608, allocations: 56 kB / 439.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3609, allocations: 119.5 kB / 439.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.3612, allocations: 294.6 kB / 439.9 MB, free: 212 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.3619, allocations: 0.6395 MB / 440.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3619, allocations: 0 / 440.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3619, allocations: 0 / 440.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3619, allocations: 4 kB / 440.5 MB, free: 15.57 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.001493/0.3634, allocations: 0.7866 MB / 441.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3635, allocations: 8.031 kB / 441.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3636, allocations: 64.56 kB / 441.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.3643, allocations: 341.2 kB / 441.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.3644, allocations: 58.91 kB / 441.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.3644, allocations: 32.38 kB / 441.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.3652, allocations: 457.1 kB / 442.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3652, allocations: 0 / 442.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3653, allocations: 19.94 kB / 442.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3653, allocations: 8 kB / 442.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.3659, allocations: 286.5 kB / 442.6 MB, free: 13.41 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.002243/0.3681, allocations: 1.252 MB / 443.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3692, allocations: 339.1 kB / 444.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.3695, allocations: 132.8 kB / 444.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3695, allocations: 8 kB / 444.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3696, allocations: 42.56 kB / 444.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.3696, allocations: 0 / 444.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001158/0.3707, allocations: 460.2 kB / 444.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002916/0.371, allocations: 448.9 kB / 445.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.3716, allocations: 453.9 kB / 445.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.3716, allocations: 37.7 kB / 445.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3719, allocations: 232.6 kB / 445.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.372, allocations: 119 kB / 446.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3721, allocations: 77.97 kB / 446.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3723, allocations: 354.8 kB / 446.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.3726, allocations: 108.6 kB / 446.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.3729, allocations: 252 kB / 446.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.3735, allocations: 277.4 kB / 447.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3735, allocations: 3.938 kB / 447.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007866/0.3742, allocations: 416.6 kB / 447.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.3743, allocations: 37.69 kB / 447.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3743, allocations: 4.031 kB / 447.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.3745, allocations: 49.69 kB / 447.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.3748, allocations: 67.89 kB / 447.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.3777, allocations: 2.762 MB / 450.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.378, allocations: 43.75 kB / 450.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.3781, allocations: 12.08 kB / 450.5 MB, free: 4.922 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.0002462/0.3783, allocations: 178 kB / 450.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3784, allocations: 51.67 kB / 450.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3785, allocations: 48.7 kB / 450.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3785, allocations: 4 kB / 450.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3785, allocations: 3.938 kB / 450.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008226/0.3794, allocations: 0.6492 MB / 451.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3809, allocations: 0.8753 MB / 452.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.3809, allocations: 7.938 kB / 452.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.3812, allocations: 71.89 kB / 452.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3812, allocations: 4 kB / 452.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3812, allocations: 4 kB / 452.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3812, allocations: 4 kB / 452.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3812, allocations: 0 / 452.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.3822, allocations: 0.5254 MB / 452.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3823, allocations: 83.55 kB / 453 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.3824, allocations: 11.98 kB / 453 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.3827, allocations: 12 kB / 453 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.3827, allocations: 23.95 kB / 453 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3827, allocations: 4 kB / 453 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.3832, allocations: 327.1 kB / 453.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3832, allocations: 0 / 453.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004443/0.3836, allocations: 136 kB / 453.5 MB, free: 1.738 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.0001551/0.3838, allocations: 103.2 kB / 453.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3848, allocations: 0.5396 MB / 454.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3848, allocations: 4 kB / 454.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.385, allocations: 127.9 kB / 454.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.3856, allocations: 129.8 kB / 454.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3874, allocations: 0.9222 MB / 455.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3879, allocations: 0.8237 MB / 456.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.388, allocations: 43.38 kB / 456.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.388, allocations: 0 / 456.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01285/0.4008, allocations: 8.316 MB / 464.5 MB, free: 6.695 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 8.279664647998288]