Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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 4.1.0-beta.om/package.mo", uses=false) 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 208.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB 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.00197/0.00197, allocations: 64.23 kB / 307.9 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007233/0.1172, allocations: 5.617 MB / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1203, allocations: 1.453 MB / 365.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.1209, allocations: 11.94 kB / 365.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005721/0.1215, allocations: 194.3 kB / 365.7 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.1224, allocations: 392.7 kB / 366.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.123, allocations: 259.6 kB / 366.3 MB, free: 6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.1246, allocations: 1.354 MB / 367.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/0.1253, allocations: 419.1 kB / 368.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000734/0.126, allocations: 0.506 MB / 368.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007951/0.1268, allocations: 0.5835 MB / 369.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.127, allocations: 116 kB / 369.3 MB, free: 3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.1273, allocations: 124 kB / 369.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.1275, allocations: 263.1 kB / 369.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006756/0.1282, allocations: 0.6027 MB / 370.3 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.1296, allocations: 1.378 MB / 371.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.1296, allocations: 4 kB / 371.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1297, allocations: 3.938 kB / 371.7 MB, free: 0.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.1297, allocations: 0 / 371.7 MB, free: 0.625 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.1761/0.3058, allocations: 1.48 MB / 373.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3059, allocations: 10.45 kB / 373.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.3062, allocations: 128.9 kB / 373.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.3071, allocations: 0.6238 MB / 373.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.3073, allocations: 157 kB / 374.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3075, allocations: 65.81 kB / 374.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.309, allocations: 0.9733 MB / 375.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.309, allocations: 0 / 375.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.3091, allocations: 33.25 kB / 375.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3091, allocations: 17.03 kB / 375.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3105, allocations: 0.6254 MB / 375.8 MB, free: 12.48 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.004261/0.3148, allocations: 2.645 MB / 378.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.3173, allocations: 0.8748 MB / 379.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.318, allocations: 345.2 kB / 379.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.318, allocations: 15.95 kB / 379.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.3181, allocations: 51.59 kB / 379.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.026e-06/0.3181, allocations: 1.5 kB / 379.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002592/0.3207, allocations: 1.403 MB / 381.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.3209, allocations: 0.9486 MB / 382 MB, free: 8.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.3219, allocations: 0.7976 MB / 382.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/0.322, allocations: 42.2 kB / 382.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.3222, allocations: 408.7 kB / 383.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.3224, allocations: 250.1 kB / 383.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.3227, allocations: 159.9 kB / 383.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.3228, allocations: 333.9 kB / 384 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.3233, allocations: 260.5 kB / 384.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.3241, allocations: 0.5845 MB / 384.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.3252, allocations: 0.6644 MB / 385.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3252, allocations: 3.938 kB / 385.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001793/0.327, allocations: 0.9473 MB / 386.5 MB, free: 6.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.3271, allocations: 91.27 kB / 386.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3271, allocations: 1.844 kB / 386.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.3275, allocations: 127.4 kB / 386.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.3282, allocations: 151.1 kB / 386.8 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.333, allocations: 7.329 MB / 394.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.3341, allocations: 105.3 kB / 394.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.3342, allocations: 28.44 kB / 394.3 MB, free: 14.7 MB / 318.1 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.3347, allocations: 236 kB / 394.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.3349, allocations: 105.7 kB / 394.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.3351, allocations: 102.9 kB / 394.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3351, allocations: 7.188 kB / 394.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.3351, allocations: 1.156 kB / 394.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/0.3367, allocations: 0.967 MB / 395.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.34, allocations: 1.76 MB / 397.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3401, allocations: 0 / 397.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.3408, allocations: 149.4 kB / 397.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.341, allocations: 33.66 kB / 397.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.341, allocations: 13.36 kB / 397.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.3423, allocations: 1.409 MB / 399.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3423, allocations: 3.938 kB / 399.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.3446, allocations: 1.068 MB / 400.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.3451, allocations: 270.9 kB / 400.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3453, allocations: 15.34 kB / 400.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.346, allocations: 42.34 kB / 400.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3461, allocations: 44.7 kB / 400.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.3461, allocations: 22.39 kB / 400.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007904/0.3469, allocations: 0.5441 MB / 401.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 0 / 401.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009028/0.3478, allocations: 292.7 kB / 401.3 MB, free: 10.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001882/0.348, allocations: 123.5 kB / 401.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.3507, allocations: 1.423 MB / 402.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.3507, allocations: 3.125 kB / 402.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.3515, allocations: 425.5 kB / 403.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.3529, allocations: 288.9 kB / 403.6 MB, free: 8.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.3562, allocations: 1.733 MB / 405.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.3569, allocations: 0.98 MB / 406.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.3572, allocations: 79.17 kB / 406.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3572, allocations: 0 / 406.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of Templates: time 0.03408/0.3913, allocations: 24.25 MB / 430.6 MB, free: 15.94 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches