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.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.001456/0.001456, allocations: 79.84 kB / 21.99 MB, free: 4.754 MB / 14.72 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.001625/0.001625, allocations: 153.8 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.371/1.371, allocations: 158.6 MB / 187 MB, free: 6.199 MB / 174.1 MB " [Timeout remaining time 178] 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 55.92 kB / 299.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2199, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004804/0.2247, allocations: 3.184 MB / 351.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2264, allocations: 0.9353 MB / 352.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2265, allocations: 11.94 kB / 352.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.2269, allocations: 107.1 kB / 352.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.2273, allocations: 186.4 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.2275, allocations: 127.8 kB / 353 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.2283, allocations: 0.6419 MB / 353.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.2286, allocations: 123.5 kB / 353.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.2289, allocations: 251.1 kB / 354 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.2293, allocations: 234.8 kB / 354.3 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.2293, allocations: 52 kB / 354.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2295, allocations: 56 kB / 354.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2296, allocations: 119.5 kB / 354.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.2298, allocations: 239 kB / 354.7 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.2306, allocations: 0.6522 MB / 355.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2306, allocations: 8 kB / 355.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2306, allocations: 3.938 kB / 355.4 MB, free: 8.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.2306, allocations: 0 / 355.4 MB, free: 8.602 MB / 318.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.001414/0.232, allocations: 0.7788 MB / 356.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.232, allocations: 19.92 kB / 356.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2322, allocations: 68.56 kB / 356.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.2328, allocations: 341.1 kB / 356.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2329, allocations: 110.3 kB / 356.7 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.233, allocations: 36.38 kB / 356.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.234, allocations: 0.8229 MB / 357.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.234, allocations: 3.938 kB / 357.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.2341, allocations: 20 kB / 357.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.2341, allocations: 8 kB / 357.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.2347, allocations: 274.5 kB / 357.9 MB, free: 5.914 MB / 318.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.001966/0.2366, allocations: 0.9481 MB / 358.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2378, allocations: 339.4 kB / 359.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.238, allocations: 124.8 kB / 359.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.2381, allocations: 4 kB / 359.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.2381, allocations: 46.53 kB / 359.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.2381, allocations: 0 / 359.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001176/0.2393, allocations: 451.7 kB / 359.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.2396, allocations: 448.9 kB / 360.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.24, allocations: 397.7 kB / 360.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.2401, allocations: 33.7 kB / 360.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2403, allocations: 248.4 kB / 360.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2404, allocations: 115 kB / 361 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.2405, allocations: 81.95 kB / 361 MB, free: 2.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2407, allocations: 350.7 kB / 361.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.241, allocations: 138.3 kB / 361.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.2416, allocations: 0.6517 MB / 362.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.2421, allocations: 277.2 kB / 362.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2421, allocations: 0 / 362.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007862/0.2429, allocations: 438.3 kB / 362.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.243, allocations: 33.7 kB / 362.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.243, allocations: 4.031 kB / 362.9 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.2431, allocations: 49.7 kB / 363 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.2435, allocations: 67.89 kB / 363 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.2462, allocations: 2.705 MB / 365.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.2466, allocations: 35.77 kB / 365.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.2466, allocations: 12 kB / 365.8 MB, free: 13.37 MB / 334.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.0002243/0.2468, allocations: 170 kB / 365.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.247, allocations: 43.72 kB / 366 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.2471, allocations: 52.36 kB / 366 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2471, allocations: 4.094 kB / 366 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2471, allocations: 3.938 kB / 366 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007704/0.2479, allocations: 0.6609 MB / 366.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.2491, allocations: 0.7396 MB / 367.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2491, allocations: 0 / 367.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.2495, allocations: 67.89 kB / 367.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.2495, allocations: 4 kB / 367.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2495, allocations: 4 kB / 367.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2495, allocations: 11.97 kB / 367.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2495, allocations: 3.938 kB / 367.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.2504, allocations: 0.5128 MB / 368 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.2506, allocations: 87.56 kB / 368.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.2506, allocations: 8 kB / 368.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.2509, allocations: 19.98 kB / 368.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.251, allocations: 19.91 kB / 368.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.251, allocations: 8 kB / 368.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.2513, allocations: 291.2 kB / 368.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2513, allocations: 0 / 368.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.2518, allocations: 135.8 kB / 368.6 MB, free: 10.37 MB / 334.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.0001316/0.2519, allocations: 107.5 kB / 368.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000959/0.2529, allocations: 0.5763 MB / 369.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2529, allocations: 0 / 369.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.2531, allocations: 127.9 kB / 369.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.2537, allocations: 121.6 kB / 369.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2554, allocations: 0.8873 MB / 370.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2556, allocations: 212.4 kB / 370.6 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.2559, allocations: 63.36 kB / 370.7 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.256, allocations: 44.48 kB / 370.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.256, allocations: 0 / 370.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of Templates: time 0.01613/0.2721, allocations: 8.42 MB / 379.1 MB, free: 15.69 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.579518481041305]