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.001476/0.001476, allocations: 108.1 kB / 16.92 MB, free: 5.762 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.001698/0.001698, allocations: 187.3 kB / 17.85 MB, free: 5.176 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.321/1.321, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 53.88 kB / 300.6 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08573, allocations: 49.43 MB / 350 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004493/0.09026, allocations: 3.493 MB / 353.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.0919, allocations: 0.9345 MB / 354.5 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.09222, allocations: 8 kB / 354.5 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.0926, allocations: 115.1 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.09311, allocations: 186.4 kB / 354.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.09343, allocations: 119.8 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000703/0.09414, allocations: 0.641 MB / 355.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.09444, allocations: 191.1 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.09475, allocations: 247.1 kB / 356 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.09511, allocations: 270.8 kB / 356.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.09522, allocations: 56 kB / 356.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.09533, allocations: 52 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.09544, allocations: 123.6 kB / 356.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.09574, allocations: 286.7 kB / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.09628, allocations: 0.6346 MB / 357.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0963, allocations: 4 kB / 357.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0963, allocations: 0 / 357.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.09632, allocations: 0 / 357.4 MB, free: 13.1 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001385/0.09771, allocations: 0.8453 MB / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.09776, allocations: 8.031 kB / 358.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.09789, allocations: 60.28 kB / 358.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.0984, allocations: 394.6 kB / 358.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.09851, allocations: 54.92 kB / 358.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.09857, allocations: 32.38 kB / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.09926, allocations: 469.1 kB / 359.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.09928, allocations: 3.938 kB / 359.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.09933, allocations: 12 kB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.09935, allocations: 11.98 kB / 359.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.09992, allocations: 278.5 kB / 359.5 MB, free: 10.8 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.002089/0.102, allocations: 1.306 MB / 360.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1032, allocations: 436.5 kB / 361.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.1034, allocations: 141.3 kB / 361.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.1035, allocations: 7.984 kB / 361.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1035, allocations: 38.56 kB / 361.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.1035, allocations: 0 / 361.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001137/0.1047, allocations: 0.6024 MB / 362 MB, free: 8.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.1049, allocations: 448.9 kB / 362.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.1054, allocations: 453.9 kB / 362.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.1054, allocations: 33.7 kB / 362.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1056, allocations: 228.5 kB / 363.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.1057, allocations: 118.3 kB / 363.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1058, allocations: 74.02 kB / 363.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1059, allocations: 358.8 kB / 363.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1062, allocations: 104.6 kB / 363.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.1065, allocations: 248.1 kB / 364 MB, free: 5.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.107, allocations: 280.8 kB / 364.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.107, allocations: 4 kB / 364.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007117/0.1077, allocations: 416.4 kB / 364.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.1078, allocations: 37.64 kB / 364.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1078, allocations: 0 / 364.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.108, allocations: 49.7 kB / 364.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1083, allocations: 71.92 kB / 364.9 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.1106, allocations: 2.965 MB / 367.9 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.111, allocations: 47.58 kB / 367.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.1111, allocations: 12 kB / 367.9 MB, free: 1.691 MB / 302.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.0001914/0.1113, allocations: 169.7 kB / 368.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.1114, allocations: 51.44 kB / 368.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-05/0.1115, allocations: 52.69 kB / 368.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1115, allocations: 4 kB / 368.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1115, allocations: 3.938 kB / 368.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006461/0.1121, allocations: 0.6492 MB / 368.8 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1424/0.2546, allocations: 0.9017 MB / 369.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2546, allocations: 4.438 kB / 369.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.255, allocations: 72.05 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.255, allocations: 1.188 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.255, allocations: 6.781 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.255, allocations: 1.531 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2551, allocations: 0.6094 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.2559, allocations: 0.5143 MB / 370.3 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.2561, allocations: 162.4 kB / 370.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.2562, allocations: 7.031 kB / 370.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.2565, allocations: 18.42 kB / 370.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.2566, allocations: 21.77 kB / 370.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2566, allocations: 10.77 kB / 370.6 MB, free: 25.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003799/0.257, allocations: 322.6 kB / 370.9 MB, free: 25.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.257, allocations: 1.312 kB / 370.9 MB, free: 25.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.2575, allocations: 132.5 kB / 371 MB, free: 25.07 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.0001062/0.2576, allocations: 109.8 kB / 371.1 MB, free: 24.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.2585, allocations: 0.5641 MB / 371.7 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2585, allocations: 2.219 kB / 371.7 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.2588, allocations: 137.4 kB / 371.8 MB, free: 24.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.2594, allocations: 133.6 kB / 371.9 MB, free: 24.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2609, allocations: 0.887 MB / 372.8 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.2611, allocations: 0.8149 MB / 373.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.2614, allocations: 64.88 kB / 373.7 MB, free: 23.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.2615, allocations: 47.78 kB / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2615, allocations: 0 / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of Templates: time 0.01417/0.2757, allocations: 8.108 MB / 381.9 MB, free: 21.73 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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