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.0009599/0.0009599, allocations: 92.53 kB / 16.3 MB, free: 5.539 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.001004/0.001004, allocations: 187.4 kB / 17.2 MB, free: 5.473 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.254/1.254, allocations: 223.2 MB / 241.1 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002179/0.0002179, allocations: 7.938 kB / 300.7 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0779/0.07813, allocations: 50.42 MB / 351.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003194/0.08137, allocations: 2.769 MB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.08272, allocations: 0.8652 MB / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.08291, allocations: 7.938 kB / 354.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.08312, allocations: 71.56 kB / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.08351, allocations: 195.4 kB / 355 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.08374, allocations: 91.91 kB / 355.1 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.08431, allocations: 455.3 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.0846, allocations: 146.3 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.08481, allocations: 195.3 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.08509, allocations: 235 kB / 356.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.08516, allocations: 28 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.08524, allocations: 32 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.08533, allocations: 91.66 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.08544, allocations: 125.5 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.08583, allocations: 458.9 kB / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.08584, allocations: 0 / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.08585, allocations: 3.938 kB / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.08586, allocations: 0 / 356.9 MB, free: 14.28 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.001149/0.08701, allocations: 0.7462 MB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.08706, allocations: 12.03 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.08716, allocations: 59.34 kB / 357.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.08762, allocations: 357.7 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/0.08773, allocations: 58.34 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.0878, allocations: 35.98 kB / 358.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.08846, allocations: 449 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.08849, allocations: 0 / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.08854, allocations: 23.95 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.08856, allocations: 8 kB / 358.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.08913, allocations: 290.4 kB / 358.9 MB, free: 12.11 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.001924/0.09107, allocations: 1.271 MB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.09218, allocations: 437.4 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.09223, allocations: 7.984 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.09226, allocations: 38.56 kB / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.09227, allocations: 0 / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001128/0.0934, allocations: 0.612 MB / 361.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.09358, allocations: 449 kB / 361.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.094, allocations: 417.9 kB / 362.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.09405, allocations: 37.7 kB / 362.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.09421, allocations: 236.4 kB / 362.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.0943, allocations: 106.4 kB / 362.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.09433, allocations: 8 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.09446, allocations: 354.8 kB / 362.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.09469, allocations: 108.6 kB / 362.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.09503, allocations: 260 kB / 363.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.0953, allocations: 151.3 kB / 363.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.09532, allocations: 3.953 kB / 363.3 MB, free: 7.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006932/0.09602, allocations: 436.9 kB / 363.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.09606, allocations: 29.7 kB / 363.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.09608, allocations: 0 / 363.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.09623, allocations: 57.62 kB / 363.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.09657, allocations: 71.94 kB / 363.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.09873, allocations: 2.775 MB / 366.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.09912, allocations: 51.73 kB / 366.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.09917, allocations: 12 kB / 366.7 MB, free: 3.578 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.09936, allocations: 165.7 kB / 366.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.09944, allocations: 51.53 kB / 366.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.09955, allocations: 56.62 kB / 367 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.09956, allocations: 4 kB / 367 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.09957, allocations: 4 kB / 367 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006239/0.1002, allocations: 0.657 MB / 367.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.1014, allocations: 0.8879 MB / 368.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1015, allocations: 4 kB / 368.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.1018, allocations: 63.95 kB / 368.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1018, allocations: 3.938 kB / 368.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1018, allocations: 12 kB / 368.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1018, allocations: 0 / 368.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1018, allocations: 0 / 368.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.1026, allocations: 0.5309 MB / 369.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.1028, allocations: 156.5 kB / 369.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.1029, allocations: 12.06 kB / 369.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.1032, allocations: 19.92 kB / 369.3 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1033, allocations: 27.95 kB / 369.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1033, allocations: 4 kB / 369.4 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.1036, allocations: 303.1 kB / 369.7 MB, free: 432 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1036, allocations: 0 / 369.7 MB, free: 432 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.104, allocations: 131.8 kB / 369.8 MB, free: 300 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.1042, allocations: 111.2 kB / 369.9 MB, free: 180 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1394/0.2435, allocations: 0.5539 MB / 370.5 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.2436, allocations: 1.5 kB / 370.5 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.2439, allocations: 130.3 kB / 370.6 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.2446, allocations: 111.8 kB / 370.7 MB, free: 24.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2461, allocations: 1.054 MB / 371.8 MB, free: 24.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2464, allocations: 0.8291 MB / 372.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.2467, allocations: 52.14 kB / 372.6 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2468, allocations: 39.17 kB / 372.7 MB, free: 23.6 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2468, allocations: 4 kB / 372.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01213/0.2589, allocations: 6.901 MB / 379.6 MB, free: 22.36 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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches