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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001486/0.001486, allocations: 112.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004119/0.2169, allocations: 3.507 MB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2182, allocations: 0.9696 MB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2184, allocations: 7.938 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.2187, allocations: 111.1 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.219, allocations: 186.4 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.2193, allocations: 123.8 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006039/0.2199, allocations: 0.6341 MB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.2202, allocations: 194.8 kB / 415.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.2204, allocations: 243.1 kB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.2207, allocations: 274.8 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.2208, allocations: 56 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.2209, allocations: 56 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.221, allocations: 119.6 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.2213, allocations: 286.7 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.2219, allocations: 0.6497 MB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2219, allocations: 0 / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2219, allocations: 0 / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2219, allocations: 0 / 417.3 MB, free: 10.17 MB / 334.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.001277/0.2232, allocations: 0.858 MB / 418.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2232, allocations: 12.03 kB / 418.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2233, allocations: 64.56 kB / 418.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.2239, allocations: 395 kB / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.224, allocations: 62.91 kB / 418.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.224, allocations: 36.38 kB / 418.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.2247, allocations: 457.1 kB / 419.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2247, allocations: 0 / 419.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.2248, allocations: 20 kB / 419.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2248, allocations: 4 kB / 419.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.2254, allocations: 278.5 kB / 419.5 MB, free: 7.863 MB / 334.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.001984/0.2274, allocations: 1.298 MB / 420.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2285, allocations: 440.5 kB / 421.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.2287, allocations: 136.8 kB / 421.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.2288, allocations: 11.94 kB / 421.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2288, allocations: 38.56 kB / 421.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.2288, allocations: 4 kB / 421.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001102/0.2299, allocations: 0.5992 MB / 422 MB, free: 5.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.2301, allocations: 452.9 kB / 422.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.2306, allocations: 461.8 kB / 422.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.2307, allocations: 33.7 kB / 422.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.2308, allocations: 232.7 kB / 423.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.2309, allocations: 111 kB / 423.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2311, allocations: 81.97 kB / 423.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2312, allocations: 358.8 kB / 423.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.2314, allocations: 100.6 kB / 423.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2318, allocations: 248.2 kB / 424 MB, free: 2.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.2323, allocations: 289.2 kB / 424.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2323, allocations: 0 / 424.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006966/0.233, allocations: 412.6 kB / 424.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.233, allocations: 29.7 kB / 424.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2331, allocations: 7.984 kB / 424.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.2332, allocations: 45.73 kB / 424.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.2336, allocations: 71.89 kB / 424.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.2359, allocations: 2.972 MB / 427.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2363, allocations: 39.81 kB / 427.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2363, allocations: 15.98 kB / 427.9 MB, free: 14.74 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.0001737/0.2365, allocations: 161.8 kB / 428 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.023e-05/0.2366, allocations: 55.67 kB / 428.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.2367, allocations: 52.7 kB / 428.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006623/0.2374, allocations: 0.6492 MB / 428.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2374, allocations: 0 / 428.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.2376, allocations: 176.5 kB / 429 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2376, allocations: 8.234 kB / 429 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.238, allocations: 15.98 kB / 429 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.238, allocations: 19.97 kB / 429 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000778/0.2388, allocations: 382.1 kB / 429.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008368/0.2396, allocations: 0.6006 MB / 430 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002161/0.2399, allocations: 124 kB / 430.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.2402, allocations: 315.1 kB / 430.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2402, allocations: 4.031 kB / 430.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.2412, allocations: 0.5641 MB / 431 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 0.001567/0.2428, allocations: 1.384 MB / 432.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Templates: time 0.01332/0.2561, allocations: 8.4 MB / 440.8 MB, free: 1.742 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches