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.001889/0.001889, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.00233/0.00233, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.992e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004485/0.004505, allocations: 3.222 MB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.006303, allocations: 0.9323 MB / 329.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.006495, allocations: 9.188 kB / 329.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.006824, allocations: 104.6 kB / 329.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.007244, allocations: 195.9 kB / 329.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.007538, allocations: 130.3 kB / 329.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007955/0.008334, allocations: 0.6646 MB / 330.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.008584, allocations: 120.5 kB / 330.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.009042, allocations: 366 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.009398, allocations: 203.9 kB / 330.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.009485, allocations: 53.16 kB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.009594, allocations: 53.91 kB / 331 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.009719, allocations: 120.6 kB / 331.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.00998, allocations: 206.2 kB / 331.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.01074, allocations: 0.67 MB / 332 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01075, allocations: 4 kB / 332 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01075, allocations: 0 / 332 MB, free: 12.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.01076, allocations: 0 / 332 MB, free: 12.03 MB / 302.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.001433/0.01219, allocations: 0.7677 MB / 332.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01222, allocations: 18.42 kB / 332.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.01236, allocations: 64.12 kB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.01298, allocations: 331.5 kB / 333.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.01313, allocations: 112.7 kB / 333.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.01319, allocations: 33.88 kB / 333.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.0142, allocations: 0.827 MB / 334.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.01422, allocations: 1.375 kB / 334.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.01427, allocations: 20.56 kB / 334.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01427, allocations: 11.41 kB / 334.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.01486, allocations: 275.5 kB / 334.5 MB, free: 9.992 MB / 302.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.001956/0.01682, allocations: 0.9569 MB / 335.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.01798, allocations: 352.6 kB / 335.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.01826, allocations: 124.9 kB / 335.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.01829, allocations: 8.422 kB / 335.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.01833, allocations: 39.69 kB / 335.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.01833, allocations: 0 / 335.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001155/0.01948, allocations: 451.9 kB / 336.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002795/0.01976, allocations: 447 kB / 336.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.02025, allocations: 407.7 kB / 337.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.02029, allocations: 33.05 kB / 337.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.02049, allocations: 242.3 kB / 337.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.02061, allocations: 116.5 kB / 337.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.02076, allocations: 76.98 kB / 337.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.02096, allocations: 352.9 kB / 338 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.02124, allocations: 137.7 kB / 338.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.02187, allocations: 0.6541 MB / 338.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.02243, allocations: 280 kB / 339.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02243, allocations: 1.156 kB / 339.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008344/0.02326, allocations: 441.5 kB / 339.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.02331, allocations: 33.69 kB / 339.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02331, allocations: 4.031 kB / 339.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.0235, allocations: 53.7 kB / 339.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.02393, allocations: 71.89 kB / 339.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.0268, allocations: 2.693 MB / 342.4 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.02722, allocations: 43.8 kB / 342.4 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.02725, allocations: 12 kB / 342.4 MB, free: 2.801 MB / 302.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.0002506/0.0275, allocations: 165.7 kB / 342.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.0276, allocations: 51.72 kB / 342.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.02771, allocations: 44.38 kB / 342.7 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02771, allocations: 0 / 342.7 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.02771, allocations: 4 kB / 342.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008172/0.02853, allocations: 0.6534 MB / 343.3 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.02993, allocations: 0.7474 MB / 344.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.02993, allocations: 4 kB / 344.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.0303, allocations: 71.83 kB / 344.2 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0303, allocations: 0 / 344.2 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.03033, allocations: 8 kB / 344.2 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.03033, allocations: 4 kB / 344.2 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03034, allocations: 0 / 344.2 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.0313, allocations: 0.5212 MB / 344.7 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.03149, allocations: 79.64 kB / 344.8 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.03155, allocations: 11.98 kB / 344.8 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.03188, allocations: 19.94 kB / 344.8 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.03193, allocations: 23.89 kB / 344.8 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.03196, allocations: 8 kB / 344.8 MB, free: 224 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003565/0.03231, allocations: 283.2 kB / 345.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.03231, allocations: 4 kB / 345.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.0328, allocations: 135.8 kB / 345.2 MB, free: 15.8 MB / 318.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.0001436/0.03295, allocations: 103.4 kB / 345.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.034, allocations: 0.5802 MB / 345.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.034, allocations: 7.938 kB / 345.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.03427, allocations: 120 kB / 346 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.03491, allocations: 116.1 kB / 346.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.03645, allocations: 0.8001 MB / 347 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.0367, allocations: 212.4 kB / 347.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.03691, allocations: 63.36 kB / 347.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.03703, allocations: 44.48 kB / 347.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.03703, allocations: 0 / 347.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of Templates: time 0.01562/0.05265, allocations: 8.315 MB / 355.6 MB, free: 5.555 MB / 318.1 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.725586518645287]