Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 157.1 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8136/0.8136, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 299.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.804e-05, allocations: 2.281 kB / 299.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.135/0.135, allocations: 3.341 MB / 303 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1367, allocations: 0.9786 MB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.137, allocations: 8.719 kB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1373, allocations: 109.6 kB / 304.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.1376, allocations: 216.2 kB / 304.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1379, allocations: 132.2 kB / 304.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.1386, allocations: 0.7032 MB / 305.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1389, allocations: 130 kB / 305.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.1393, allocations: 388.4 kB / 305.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1396, allocations: 216.6 kB / 305.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.1396, allocations: 56.75 kB / 305.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.1397, allocations: 62.56 kB / 306 MB, free: 13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.1398, allocations: 128.1 kB / 306.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.14, allocations: 219.1 kB / 306.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.1407, allocations: 0.7105 MB / 307.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1407, allocations: 4 kB / 307.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1407, allocations: 0 / 307.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1407, allocations: 2.625 kB / 307.1 MB, free: 12.58 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001052/0.1417, allocations: 0.824 MB / 307.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1418, allocations: 13.55 kB / 307.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1419, allocations: 71.45 kB / 308 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.1425, allocations: 384.8 kB / 308.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.1425, allocations: 106.5 kB / 308.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.1426, allocations: 34 kB / 308.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.1432, allocations: 0.8504 MB / 309.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1432, allocations: 1.469 kB / 309.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1432, allocations: 19.75 kB / 309.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1432, allocations: 8.875 kB / 309.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.1437, allocations: 334.8 kB / 309.7 MB, free: 10.7 MB / 282.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.001321/0.1451, allocations: 0.9411 MB / 310.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.1455, allocations: 285.2 kB / 310.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1457, allocations: 161.8 kB / 311.1 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1458, allocations: 9.484 kB / 311.1 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1458, allocations: 40.97 kB / 311.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.1458, allocations: 0 / 311.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001037/0.1468, allocations: 0.5741 MB / 311.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1469, allocations: 445 kB / 312.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.1473, allocations: 437.2 kB / 312.5 MB, free: 8.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1473, allocations: 33.67 kB / 312.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1474, allocations: 248.5 kB / 312.8 MB, free: 8.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.1475, allocations: 128.3 kB / 312.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.1476, allocations: 75.34 kB / 313 MB, free: 8.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.1476, allocations: 356.4 kB / 313.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.1479, allocations: 160.7 kB / 313.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.1482, allocations: 0.6852 MB / 314.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.1487, allocations: 344.3 kB / 314.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1487, allocations: 0 / 314.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006501/0.1493, allocations: 0.5031 MB / 315 MB, free: 7.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.1493, allocations: 32.05 kB / 315.1 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1494, allocations: 1.5 kB / 315.1 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.1495, allocations: 54.92 kB / 315.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1497, allocations: 87.89 kB / 315.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.151, allocations: 2.699 MB / 317.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.1512, allocations: 53.81 kB / 318 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1513, allocations: 9.047 kB / 318 MB, free: 4.344 MB / 282.7 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 (37): * Single equations (assignments): 34 * 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.0001295/0.1514, allocations: 169.3 kB / 318.1 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.1514, allocations: 53.2 kB / 318.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.1515, allocations: 54.92 kB / 318.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1515, allocations: 2.75 kB / 318.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1515, allocations: 1.375 kB / 318.3 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005284/0.152, allocations: 0.7254 MB / 319 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.1531, allocations: 0.8546 MB / 319.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1531, allocations: 0 / 319.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1533, allocations: 93.64 kB / 319.9 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1533, allocations: 2.844 kB / 319.9 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1534, allocations: 7.188 kB / 319.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1534, allocations: 2.719 kB / 319.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1534, allocations: 0 / 319.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.1542, allocations: 0.6543 MB / 320.6 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1543, allocations: 88.98 kB / 320.7 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1543, allocations: 9.094 kB / 320.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1545, allocations: 29.84 kB / 320.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.1546, allocations: 25.06 kB / 320.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1546, allocations: 7.469 kB / 320.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.1548, allocations: 311.4 kB / 321.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1548, allocations: 0 / 321.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.1552, allocations: 144.2 kB / 321.2 MB, free: 2.402 MB / 282.7 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 (35): * Single equations (assignments): 35 * 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.0001117/0.1553, allocations: 107.4 kB / 321.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.1561, allocations: 0.6529 MB / 322 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1561, allocations: 2.125 kB / 322 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.1563, allocations: 163.5 kB / 322.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.1568, allocations: 134.9 kB / 322.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1579, allocations: 0.8869 MB / 323.1 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1581, allocations: 227.2 kB / 323.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1582, allocations: 43.47 kB / 323.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1582, allocations: 0 / 323.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of Templates: time 0.01068/0.1689, allocations: 9.008 MB / 332.4 MB, free: 12.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.117074614390731]