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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 118.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 190.7 kB / 21.35 MB, free: 1.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 247 MB, free: 4.102 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 43.92 kB / 358.7 MB, free: 8.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 49.44 MB / 408.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005338/0.1148, allocations: 3.497 MB / 411.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1168, allocations: 0.9384 MB / 412.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.1171, allocations: 7.938 kB / 412.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1175, allocations: 111.1 kB / 412.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.118, allocations: 178.4 kB / 412.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1183, allocations: 127.8 kB / 412.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.1191, allocations: 0.6341 MB / 413.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.1194, allocations: 194.9 kB / 413.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.1198, allocations: 239.1 kB / 414 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.1201, allocations: 270.8 kB / 414.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.1202, allocations: 56 kB / 414.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1204, allocations: 52 kB / 414.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1205, allocations: 123.5 kB / 414.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.1208, allocations: 286.7 kB / 414.8 MB, free: 40 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.1217, allocations: 0.646 MB / 415.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1217, allocations: 0 / 415.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1217, allocations: 4 kB / 415.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1217, allocations: 3.938 kB / 415.4 MB, free: 15.38 MB / 350.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.00156/0.1233, allocations: 0.8541 MB / 416.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1233, allocations: 16.03 kB / 416.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1235, allocations: 60.61 kB / 416.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.1241, allocations: 399 kB / 416.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1242, allocations: 62.84 kB / 416.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.1243, allocations: 36.38 kB / 416.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.1252, allocations: 457.1 kB / 417.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1252, allocations: 11.92 kB / 417.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.1253, allocations: 12 kB / 417.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1253, allocations: 8 kB / 417.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.1259, allocations: 282.5 kB / 417.6 MB, free: 13.06 MB / 350.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.002207/0.1281, allocations: 1.294 MB / 418.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1294, allocations: 441.2 kB / 419.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.1297, allocations: 144.2 kB / 419.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1297, allocations: 7.984 kB / 419.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1298, allocations: 38.56 kB / 419.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.1298, allocations: 0 / 419.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00135/0.1311, allocations: 0.6026 MB / 420.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002967/0.1314, allocations: 448.9 kB / 420.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.1321, allocations: 457.8 kB / 421 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.1321, allocations: 33.7 kB / 421 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.1323, allocations: 228.7 kB / 421.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1325, allocations: 119 kB / 421.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.1327, allocations: 82.02 kB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1329, allocations: 358.8 kB / 421.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.1332, allocations: 104.6 kB / 421.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.1336, allocations: 252 kB / 422.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.1342, allocations: 281.2 kB / 422.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1342, allocations: 0 / 422.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008025/0.135, allocations: 420.6 kB / 422.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.135, allocations: 37.7 kB / 422.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.1351, allocations: 0 / 422.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1353, allocations: 45.69 kB / 422.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.1356, allocations: 71.89 kB / 423 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.1386, allocations: 2.965 MB / 426 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.139, allocations: 43.77 kB / 426 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.1391, allocations: 19.98 kB / 426 MB, free: 3.945 MB / 350.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.0002363/0.1393, allocations: 161.8 kB / 426.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.1394, allocations: 55.67 kB / 426.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.951e-05/0.1395, allocations: 48.7 kB / 426.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1395, allocations: 4 kB / 426.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1395, allocations: 3.938 kB / 426.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008093/0.1403, allocations: 0.6531 MB / 426.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1418, allocations: 0.8973 MB / 427.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1418, allocations: 7.875 kB / 427.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.1422, allocations: 71.89 kB / 427.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1422, allocations: 0 / 427.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1422, allocations: 8 kB / 427.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1422, allocations: 3.984 kB / 427.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1422, allocations: 4 kB / 427.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.1431, allocations: 0.5125 MB / 428.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.1433, allocations: 172.6 kB / 428.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.1434, allocations: 12 kB / 428.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.1437, allocations: 15.98 kB / 428.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.1437, allocations: 24.03 kB / 428.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1438, allocations: 8 kB / 428.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.1442, allocations: 319.1 kB / 429 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1442, allocations: 0 / 429 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.1446, allocations: 128 kB / 429.1 MB, free: 0.6523 MB / 350.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.0001485/0.1448, allocations: 115.1 kB / 429.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.1813/0.3261, allocations: 0.5627 MB / 429.8 MB, free: 22.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.3261, allocations: 0.9688 kB / 429.8 MB, free: 22.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.3265, allocations: 126.9 kB / 429.9 MB, free: 22.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.3273, allocations: 136 kB / 430 MB, free: 22.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3287, allocations: 0.901 MB / 430.9 MB, free: 22.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.329, allocations: 0.8176 MB / 431.8 MB, free: 21.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3291, allocations: 45.81 kB / 431.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3291, allocations: 0.9062 kB / 431.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of Templates: time 0.01318/0.3423, allocations: 8.282 MB / 440.1 MB, free: 20.69 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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: 8.02425602497533]