Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001068/0.001068, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001134/0.001134, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.1 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.08225, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004439/0.08672, allocations: 3.493 MB / 332.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.08824, allocations: 0.9822 MB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.08842, allocations: 4 kB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.08874, allocations: 111.1 kB / 333.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.08908, allocations: 186.4 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.08935, allocations: 123.8 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006046/0.08996, allocations: 0.6302 MB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.09024, allocations: 190.8 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.09046, allocations: 243.1 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.09076, allocations: 282.8 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-05/0.09083, allocations: 52 kB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.09092, allocations: 52 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.09102, allocations: 119.6 kB / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.09128, allocations: 290.7 kB / 335.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.09181, allocations: 0.6384 MB / 336.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.09182, allocations: 0 / 336.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09183, allocations: 0 / 336.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.09184, allocations: 0 / 336.1 MB, free: 12.35 MB / 286.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.001285/0.09313, allocations: 0.8467 MB / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.09317, allocations: 11.97 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.09328, allocations: 64.19 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.09384, allocations: 394.7 kB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.09394, allocations: 62.91 kB / 337.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.09401, allocations: 32.28 kB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.09468, allocations: 465.1 kB / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.0947, allocations: 0 / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.09475, allocations: 16 kB / 337.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.09476, allocations: 8 kB / 338 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.09532, allocations: 286.5 kB / 338.2 MB, free: 10.03 MB / 286.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.001989/0.09732, allocations: 1.29 MB / 339.5 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.09843, allocations: 440.3 kB / 340 MB, free: 8.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.0987, allocations: 148.9 kB / 340.1 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.09875, allocations: 11.92 kB / 340.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.09878, allocations: 38.56 kB / 340.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.09879, allocations: 0 / 340.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001085/0.09988, allocations: 0.6024 MB / 340.7 MB, free: 7.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.1001, allocations: 444.9 kB / 341.2 MB, free: 6.789 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.1006, allocations: 457.9 kB / 341.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1006, allocations: 33.7 kB / 341.7 MB, free: 6.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1008, allocations: 228.4 kB / 341.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.1008, allocations: 110.5 kB / 342 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.101, allocations: 73.92 kB / 342.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1011, allocations: 358.8 kB / 342.4 MB, free: 5.516 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1014, allocations: 112.6 kB / 342.5 MB, free: 5.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.1017, allocations: 248.1 kB / 342.8 MB, free: 5.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1022, allocations: 280.5 kB / 343 MB, free: 4.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1022, allocations: 0 / 343 MB, free: 4.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006855/0.1029, allocations: 416.9 kB / 343.4 MB, free: 4.402 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.103, allocations: 33.73 kB / 343.5 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.103, allocations: 11.92 kB / 343.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.1031, allocations: 49.7 kB / 343.5 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.1035, allocations: 63.89 kB / 343.6 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.1058, allocations: 2.961 MB / 346.6 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.1062, allocations: 43.72 kB / 346.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.1062, allocations: 11.98 kB / 346.6 MB, free: 0.9375 MB / 286.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.0001823/0.1064, allocations: 169.8 kB / 346.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.1065, allocations: 51.38 kB / 346.8 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-05/0.1066, allocations: 48.7 kB / 346.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1066, allocations: 4 kB / 346.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1066, allocations: 11.92 kB / 346.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006309/0.1072, allocations: 0.6425 MB / 347.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1085, allocations: 0.9118 MB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1085, allocations: 3.938 kB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.1088, allocations: 67.91 kB / 348.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1088, allocations: 3.984 kB / 348.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1089, allocations: 11.98 kB / 348.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1089, allocations: 0 / 348.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1089, allocations: 0 / 348.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/0.1097, allocations: 0.5122 MB / 349.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1098, allocations: 168.4 kB / 349.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.1099, allocations: 8 kB / 349.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.1102, allocations: 15.98 kB / 349.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.1103, allocations: 19.97 kB / 349.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1103, allocations: 8 kB / 349.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.1106, allocations: 327 kB / 349.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1106, allocations: 4.062 kB / 349.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.1111, allocations: 131.8 kB / 349.7 MB, free: 13.63 MB / 302.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.0001093/0.1112, allocations: 103.2 kB / 349.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008304/0.112, allocations: 0.5591 MB / 350.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.112, allocations: 0 / 350.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.1123, allocations: 136.5 kB / 350.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.1129, allocations: 133.7 kB / 350.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1143, allocations: 0.8751 MB / 351.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1146, allocations: 0.8198 MB / 352.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.1148, allocations: 56.36 kB / 352.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1149, allocations: 47.42 kB / 352.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1149, allocations: 0 / 352.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01263/0.1276, allocations: 8.116 MB / 360.6 MB, free: 2.684 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches