Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 105.2 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009811, allocations: 43.88 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2174, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004377/0.2218, allocations: 3.503 MB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2235, allocations: 0.9384 MB / 405.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.2237, allocations: 4 kB / 405.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2241, allocations: 115.1 kB / 406 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.2245, allocations: 190.4 kB / 406.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.2248, allocations: 119.8 kB / 406.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007111/0.2256, allocations: 0.64 MB / 406.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.2259, allocations: 190.8 kB / 407.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.2262, allocations: 235.2 kB / 407.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.2265, allocations: 282.8 kB / 407.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.2266, allocations: 52 kB / 407.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2267, allocations: 52 kB / 407.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2268, allocations: 119.6 kB / 407.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.2271, allocations: 286.7 kB / 408.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.2278, allocations: 0.6497 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2278, allocations: 3.984 kB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2278, allocations: 0 / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.2278, allocations: 3.938 kB / 408.8 MB, free: 1.512 MB / 318.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.001362/0.2292, allocations: 0.8619 MB / 409.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2292, allocations: 8.031 kB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2293, allocations: 60.61 kB / 409.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.2299, allocations: 403 kB / 410.1 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/0.23, allocations: 58.91 kB / 410.1 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.2301, allocations: 36.38 kB / 410.2 MB, free: 0 / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.2308, allocations: 457.1 kB / 410.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2308, allocations: 4 kB / 410.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.2308, allocations: 16 kB / 410.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2309, allocations: 8 kB / 410.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.2314, allocations: 282.5 kB / 410.9 MB, free: 15.2 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.002005/0.2335, allocations: 1.291 MB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.2346, allocations: 440.5 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.2349, allocations: 141.6 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.2349, allocations: 8 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.235, allocations: 46.55 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/0.235, allocations: 0 / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001203/0.2362, allocations: 0.5948 MB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.2364, allocations: 452.9 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.2369, allocations: 461.8 kB / 414.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2369, allocations: 33.7 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2371, allocations: 228.7 kB / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.2372, allocations: 115 kB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.2373, allocations: 78.02 kB / 414.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2375, allocations: 358.8 kB / 415.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.2377, allocations: 108.6 kB / 415.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.2381, allocations: 252 kB / 415.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.2386, allocations: 285.2 kB / 415.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2386, allocations: 0 / 415.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007273/0.2393, allocations: 416.6 kB / 416.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.2394, allocations: 37.69 kB / 416.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2394, allocations: 4.031 kB / 416.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.2396, allocations: 45.7 kB / 416.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.2399, allocations: 67.89 kB / 416.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.2423, allocations: 2.969 MB / 419.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.2427, allocations: 47.75 kB / 419.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.2427, allocations: 12 kB / 419.3 MB, free: 6.074 MB / 334.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.0001876/0.2429, allocations: 165.8 kB / 419.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.243, allocations: 55.77 kB / 419.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.2431, allocations: 56.62 kB / 419.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006666/0.2438, allocations: 0.6454 MB / 420.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2438, allocations: 0 / 420.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.244, allocations: 168.8 kB / 420.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.244, allocations: 8 kB / 420.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.2444, allocations: 15.98 kB / 420.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.2444, allocations: 27.95 kB / 420.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007906/0.2452, allocations: 374.1 kB / 420.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008569/0.2461, allocations: 0.6046 MB / 421.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002212/0.2463, allocations: 116 kB / 421.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.2467, allocations: 323.1 kB / 421.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2467, allocations: 0 / 421.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2477, allocations: 0.5653 MB / 422.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of SimCode: time 0.001586/0.2493, allocations: 1.376 MB / 423.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of Templates: time 0.01346/0.2628, allocations: 8.399 MB / 432.2 MB, free: 9.086 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches