Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 94.27 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009881/0.0009883, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1981, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003932/0.202, allocations: 4.397 MB / 411.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.2037, allocations: 1.237 MB / 412.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2039, allocations: 11.94 kB / 412.7 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.2042, allocations: 107.3 kB / 412.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.2046, allocations: 230.2 kB / 413 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.205, allocations: 175.8 kB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.2055, allocations: 0.8908 MB / 414.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.2058, allocations: 218.4 kB / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.2061, allocations: 342.7 kB / 414.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2064, allocations: 390.3 kB / 415 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.2065, allocations: 56 kB / 415.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2066, allocations: 60 kB / 415.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.2067, allocations: 147.4 kB / 415.3 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.207, allocations: 398 kB / 415.7 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.2075, allocations: 0.8875 MB / 416.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2075, allocations: 4 kB / 416.6 MB, free: 18.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2075, allocations: 0 / 416.6 MB, free: 18.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.2075, allocations: 3.938 kB / 416.6 MB, free: 18.26 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001739/0.2093, allocations: 1.113 MB / 417.7 MB, free: 17.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2093, allocations: 12.59 kB / 417.7 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.2095, allocations: 88 kB / 417.8 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.21, allocations: 484.6 kB / 418.2 MB, free: 16.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2101, allocations: 92.97 kB / 418.3 MB, free: 16.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.2102, allocations: 48.38 kB / 418.4 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.2111, allocations: 0.656 MB / 419 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2111, allocations: 3.984 kB / 419 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.2112, allocations: 24 kB / 419.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2112, allocations: 12 kB / 419.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.2121, allocations: 451.6 kB / 419.5 MB, free: 15.11 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.002328/0.2145, allocations: 1.952 MB / 421.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2161, allocations: 0.6869 MB / 422.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.2166, allocations: 268.9 kB / 422.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.2167, allocations: 12.38 kB / 422.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2167, allocations: 43 kB / 422.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.2167, allocations: 0 / 422.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004554/0.2213, allocations: 1.48 MB / 424 MB, free: 10.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.2214, allocations: 0.5643 MB / 424.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.2219, allocations: 0.5382 MB / 425.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.2219, allocations: 37.7 kB / 425.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.2221, allocations: 288.5 kB / 425.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.2222, allocations: 189.3 kB / 425.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2223, allocations: 114.2 kB / 425.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.2224, allocations: 370.7 kB / 426 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.2229, allocations: 193 kB / 426.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.2234, allocations: 413.9 kB / 426.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000883/0.2243, allocations: 496.5 kB / 427.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2243, allocations: 0 / 427.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002035/0.2264, allocations: 0.8106 MB / 427.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2264, allocations: 29.7 kB / 427.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2264, allocations: 0 / 427.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/0.2273, allocations: 218.4 kB / 428.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.228, allocations: 131.8 kB / 428.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.2337, allocations: 5.164 MB / 433.5 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.2343, allocations: 79.45 kB / 433.5 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.2344, allocations: 23.92 kB / 433.6 MB, free: 128 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.2346, allocations: 197.8 kB / 433.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.2347, allocations: 67.25 kB / 433.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.237, allocations: 0.7811 MB / 434.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2371, allocations: 8 kB / 434.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.2371, allocations: 0 / 434.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002123/0.2392, allocations: 1.027 MB / 435.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.2423, allocations: 1.506 MB / 437.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2423, allocations: 4 kB / 437.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/0.243, allocations: 127.8 kB / 437.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.2439, allocations: 177.7 kB / 437.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.2439, allocations: 11.98 kB / 437.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004767/0.2487, allocations: 3.478 MB / 440.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2487, allocations: 4.125 kB / 440.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/0.2689, allocations: 8.94 MB / 449.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.2692, allocations: 204.3 kB / 450.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.2693, allocations: 16 kB / 450.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.2699, allocations: 47.81 kB / 450.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.27, allocations: 48.42 kB / 450.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.2701, allocations: 16 kB / 450.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.2705, allocations: 386.8 kB / 450.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2705, allocations: 0 / 450.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009118/0.2714, allocations: 311.8 kB / 450.9 MB, free: 13.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.2716, allocations: 122.2 kB / 451 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.2738, allocations: 1.018 MB / 452 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2739, allocations: 4.188 kB / 452 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.2748, allocations: 0.5277 MB / 452.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.2757, allocations: 175.5 kB / 452.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.2791, allocations: 2.135 MB / 454.9 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.2795, allocations: 0.8999 MB / 455.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.2799, allocations: 93.11 kB / 455.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.2801, allocations: 55.42 kB / 455.9 MB, free: 8.656 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2801, allocations: 4 kB / 455.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of Templates: time 0.02392/0.304, allocations: 15.85 MB / 471.7 MB, free: 8.992 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches